Skip to content

Commit 73d73db

Browse files
committed
fix: Do not drop the event on request gone in flask
1 parent 0338b9d commit 73d73db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def inner(event):
115115
# it. This might happen if the processor is pushed away to
116116
# another thread.
117117
if request is None:
118-
return
118+
return event
119119

120120
if "transaction" not in event:
121121
try:

0 commit comments

Comments
 (0)