Skip to content

Commit

Permalink
Update token_transfer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Dec 20, 2024
1 parent dd97747 commit e1371d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eth_portfolio/_loaders/token_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ async def get_transaction_index(hash: str) -> int:
receipt_bytes, type=HasTxIndex, dec_hook=TransactionIndex._decode_hook
).transactionIndex
except ValidationError as e:
raise TypeError(e, receipt_bytes, decode(receipt_bytes) from e
new = TypeError(e, receipt_bytes, decode(receipt_bytes)
logger.exception(new)
raise new from e



class HasTxIndex(Struct):
Expand Down

0 comments on commit e1371d9

Please sign in to comment.