Skip to content

Commit

Permalink
Do not raise for 405 (#2556)
Browse files Browse the repository at this point in the history
Do not raise for 405

Fixes #1405

TODO:

 Write new tests or update the old ones to cover new functionality.
 Update doc-strings where appropriate.
 Update or write new documentation in packit/packit.dev.
 ‹fill in›



Fixes
Related to
Merge before/after

Reviewed-by: Laura Barcziová
  • Loading branch information
2 parents be730d0 + bfb4d85 commit 3516227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packit_service/sentry_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def configure_sentry(
integrations=integrations,
environment=getenv("DEPLOYMENT"),
traces_sampler=traces_sampler,
# Do not report crawlers sending requests with wrong method.
ignore_errors=["MethodNotAllowed"],
)
with sentry_sdk.configure_scope() as scope:
scope.set_tag("runner-type", runner_type)
Expand Down

0 comments on commit 3516227

Please sign in to comment.