8000 address https://github.com/getsentry/sentry-python/issues/387 (#388) · pythonthings/sentry-python@1521257 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1521257

Browse files
Matt Millicanuntitaker
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

Lines changed: 2 additions & 1 deletion
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)
0