Skip to content

Commit

Permalink
ignore some exceptions for sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneld committed Jan 20, 2025
1 parent 5774d81 commit ea3e919
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/packages/prod/sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
->httpTimeout(2)
->defaultIntegrations(true)
->tracesSampleRate(1.0)
->attachStacktrace(true);
->attachStacktrace(true)
->ignoreExceptions([
\Symfony\Component\Security\Core\Exception\AccessDeniedException::class,
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class,
]);
};

0 comments on commit ea3e919

Please sign in to comment.