Skip to content

Commit

Permalink
feat(Yul): When assembly fails, show failed code
Browse files Browse the repository at this point in the history
  • Loading branch information
qbzzt authored Jan 27, 2023
1 parent f2992b7 commit 09ef23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ethereum_test_tools/code/yul.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def assemble(self) -> bytes:
)

if result.returncode != 0:
raise Exception("failed to compile yul source")
raise Exception("failed to compile yul source: " + self.source)

lines = result.stdout.decode().split("\n")

Expand Down

0 comments on commit 09ef23a

Please sign in to comment.