diff --git a/wake/development/core.py b/wake/development/core.py index a19c0b3d..1f5b3f5e 100644 --- a/wake/development/core.py +++ b/wake/development/core.py @@ -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]