Skip to content

Commit f2ad434

Browse files
committed
fix: default in_app to false
1 parent fb57de2 commit f2ad434

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

posthog/exception_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ def set_in_app_in_frames(frames, in_app_exclude, in_app_include, project_root=No
733733
# if frame has no abs_path, skip further checks
734734
abs_path = frame.get("abs_path")
735735
if abs_path is None:
736+
frame["in_app"] = False
736737
continue
737738

738739
if _is_external_source(abs_path):
@@ -743,6 +744,8 @@ def set_in_app_in_frames(frames, in_app_exclude, in_app_include, project_root=No
743744
frame["in_app"] = True
744745
continue
745746

747+
frame["in_app"] = False
748+
746749
return frames
747750

748751

0 commit comments

Comments
 (0)