Skip to content

Commit

Permalink
Merge pull request #1751 from eth-brownie/fix-typed-error
Browse files Browse the repository at this point in the history
fix: `TypeError` when outputting custom errors
  • Loading branch information
iamdefinitelyahuman authored Feb 24, 2024
2 parents a05e4d9 + a0cc9ec commit ebf8c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brownie/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,6 @@ def decode_typed_error(data: str) -> str:
if selector == ERROR_SIG:
return result[0]
else:
return f"{_errors[selector]['name']}: {', '.join(result)}"
return f"{_errors[selector]['name']}: {', '.join([str(i) for i in result])}"
else:
return f"Unknown typed error: {data}"

0 comments on commit ebf8c83

Please sign in to comment.