Skip to content

Commit 1521257

Browse files
Matt Millicanuntitaker
Matt Millican
authored andcommitted
1 parent 8b3de2c commit 1521257

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ def should_hide_frame(frame):
212212
# type: (Any) -> bool
213213
try:
214214
mod = frame.f_globals["__name__"]
215-
return mod.startswith("sentry_sdk.")
215+
if mod.startswith("sentry_sdk."):
216+
return True
216217
except (AttributeError, KeyError):
217218
pass
218219

0 commit comments

Comments
 (0)