Skip to content

Commit

Permalink
Added Sentry for Error Monitoring
Browse files Browse the repository at this point in the history
- Added Sentry for error monitoring
- Fixed an issue with the Account model firstPayday property
- Added several convenience composer scripts for the server
  • Loading branch information
Macavity committed Aug 30, 2023
1 parent 1a2cbb9 commit 11850ac
Show file tree
Hide file tree
Showing 12 changed files with 1,494 additions and 93 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###

###> sentry/sentry-symfony ###
SENTRY_DSN=
###< sentry/sentry-symfony ###
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ Thumbs.db
public/build
.fleet
.env.prod
public/*.php
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"phpstan/phpdoc-parser": "^1.23",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.3",
"sentry/sentry-symfony": "^4.10",
"symfony/asset": "6.3.*",
"symfony/console": "6.3.*",
"symfony/doctrine-messenger": "6.3.*",
Expand Down Expand Up @@ -93,6 +94,15 @@
"typescript": [
"@php bin/console typescript:generate"
],
"cache:remove": "rm -rf var/cache/",
"cache:warmup": [
"@php bin/console cache:clear --env=dev --ansi",
"@php bin/console cache:clear --env=prod --ansi"
],
"cache": [
"@cache:remove",
"@cache:warmup"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
Expand Down
Loading

0 comments on commit 11850ac

Please sign in to comment.