Skip to content

Commit c01783f

Browse files
committed
Bump sentry/sentry-symfony to 5.x.
1 parent b807f7e commit c01783f

File tree

4 files changed

+41
-186
lines changed

4 files changed

+41
-186
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"guzzlehttp/guzzle": "^7.0",
7373
"myclabs/php-enum": "^1.8",
7474
"beberlei/doctrineextensions": "^1.0",
75-
"sentry/sentry-symfony": "^4.0",
75+
"sentry/sentry-symfony": "^5.0",
7676
"ramsey/uuid-doctrine": "^1.6",
7777
"ramsey/uuid": "^3.9",
7878
"nesbot/carbon": "^2.0",

composer.lock

Lines changed: 36 additions & 174 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/packages/prod/framework.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,3 @@ framework:
2222
parameters:
2323
router.request_context.scheme: 'https'
2424
nucleos_profile.registration.confirmation.enabled: true
25-
26-
services:
27-
Sentry\Integration\IgnoreErrorsIntegration:
28-
arguments:
29-
$options:
30-
ignore_exceptions:
31-
- Symfony\Component\Security\Core\Exception\AccessDeniedException
32-
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
33-
- ApiPlatform\Symfony\Validator\Exception\ValidationException

config/packages/sentry.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ when@prod:
99
options:
1010
tags:
1111
coopcycle_app_name: '%env(COOPCYCLE_APP_NAME)%'
12-
integrations:
13-
- 'Sentry\Integration\IgnoreErrorsIntegration'
12+
ignore_exceptions:
13+
- 'Symfony\Component\Security\Core\Exception\AccessDeniedException'
14+
- 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
15+
- 'ApiPlatform\Symfony\Validator\Exception\ValidationException'
1416

1517
# If you are using Monolog, you also need this additional configuration to log the errors correctly:
1618
# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration

0 commit comments

Comments
 (0)