Skip to content

Commit

Permalink
fix: ignore not found exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hippothomas committed Jan 13, 2025
1 parent 2b51a0e commit c6d5643
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/packages/sentry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ when@prod:
options:
release: !php/const App\Constants::VERSION
traces_sample_rate: 0.2
integrations:
- 'Sentry\Integration\IgnoreErrorsIntegration'
tracing:
enabled: true
6 changes: 6 additions & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ services:
arguments:
$mongoDbUrl: '%mongodb.url%'
$mongoDbName: '%mongodb.name%'

Sentry\Integration\IgnoreErrorsIntegration:
arguments:
$options:
ignore_exceptions:
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException

0 comments on commit c6d5643

Please sign in to comment.