Skip to content

Commit 5a3a3ac

Browse files
committed
Give missing parent to recursive calls
1 parent 781925a commit 5a3a3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ def exceptions_from_error(
845845
client_options=client_options,
846846
mechanism=mechanism,
847847
exception_id=exception_id,
848-
# parent_id=parent_id, TODO: why is this not set?
848+
parent_id=parent_id,
849849
source="__cause__",
850850
full_stack=full_stack,
851851
)
@@ -870,7 +870,7 @@ def exceptions_from_error(
870870
client_options=client_options,
871871
mechanism=mechanism,
872872
exception_id=exception_id,
873-
# parent_id=parent_id, TODO: why is this not set?
873+
parent_id=parent_id,
874874
source="__context__",
875875
full_stack=full_stack,
876876
)

0 commit comments

Comments
 (0)