Skip to content

Commit f006d6f

Browse files
committed
Give missing parent to recursive calls
1 parent c940e5e commit f006d6f

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
@@ -820,7 +820,7 @@ def exceptions_from_error(
820820
client_options=client_options,
821821
mechanism=mechanism,
822822
exception_id=exception_id,
823-
# parent_id=parent_id, TODO: why is this not set?
823+
parent_id=parent_id,
824824
source="__cause__",
825825
full_stack=full_stack,
826826
)
@@ -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="__context__",
850850
full_stack=full_stack,
851851
)

0 commit comments

Comments
 (0)