Skip to content

Commit

Permalink
🐛 Fix revert tx not assigned when error cannot be resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Oct 19, 2024
1 parent ed11a02 commit ef8df46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wake/development/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,9 @@ def _process_revert_data(
fqn_overrides,
)
except ValueError:
raise UnknownTransactionRevertedError(revert_data) from None
e = UnknownTransactionRevertedError(revert_data)
e.tx = tx
raise e from None
else:
fqn = list(errors[selector].keys())[0]

Expand Down

0 comments on commit ef8df46

Please sign in to comment.