Skip to content

Commit

Permalink
fix: catch decoding error
Browse files Browse the repository at this point in the history
  • Loading branch information
banteg committed Jul 7, 2022
1 parent 7952e32 commit 8fdc8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/api/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def decode_logs(
try:
event_abi = contract_type.events[log["topics"][0]] # type: ignore
yield from self.provider.network.ecosystem.decode_logs(event_abi, [log])
except (StopIteration, KeyError):
except (StopIteration, KeyError, DecodingError):
try:
yield self.provider.network.ecosystem.decode_ds_note(log) # type: ignore
except (DecodingError, AttributeError):
Expand Down

0 comments on commit 8fdc8de

Please sign in to comment.