Skip to content

Commit

Permalink
Skip NotFound http errors in Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredup committed Oct 2, 2023
1 parent a3fd2c8 commit aa0ee6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/packages/sentry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ sentry:
monolog:
handlers:
sentry:
type: fingers_crossed
action_level: !php/const Monolog\Logger::ERROR
handler: sentry_main
excluded_http_codes: [ 404, 405 ]
buffer_size: 50
sentry_main:
type: sentry
level: !php/const Monolog\Logger::ERROR
hub_id: Sentry\State\HubInterface

0 comments on commit aa0ee6e

Please sign in to comment.