Skip to content

Commit

Permalink
Reversed the order of tracebacks when concatenating
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Sep 18, 2022
1 parent 0f39b3f commit dc35213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/_core/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def collapse_exception_group(excgroup):

if len(exceptions) == 1:
exceptions[0].__traceback__ = concat_tb(
exceptions[0].__traceback__, excgroup.__traceback__
excgroup.__traceback__, exceptions[0].__traceback__
)
return exceptions[0]
elif modified:
Expand Down

0 comments on commit dc35213

Please sign in to comment.