Skip to content

Commit

Permalink
Merge pull request #52 from qbzzt/patch-3
Browse files Browse the repository at this point in the history
feat(Yul): When assembly fails, show failed code
  • Loading branch information
spencer-tb authored Jan 28, 2023
2 parents f2992b7 + 09ef23a commit 5c9d1e6
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 5c9d1e6

Please sign in to comment.