Skip to content

Commit 86bc120

Browse files
Merge branch 'webb/arq/control-flow-exceptions' into webb/arq/span-first
2 parents d14aa20 + 30ff4da commit 86bc120

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sentry_sdk/integrations/arq.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ def _capture_exception(exc_info: "ExcInfo") -> None:
146146

147147
scope.transaction.set_status(SPANSTATUS.INTERNAL_ERROR)
148148

149+
if exc_info[0] in ARQ_CONTROL_FLOW_EXCEPTIONS:
150+
return
151+
149152
event, hint = event_from_exception(
150153
exc_info,
151154
client_options=sentry_sdk.get_client().options,

0 commit comments

Comments
 (0)