From 23c80286d60bca97d02f559b4b7bb4a68ff8a9c1 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Thu, 19 Dec 2024 19:49:01 -0400 Subject: [PATCH] Update token_transfer.py --- eth_portfolio/_loaders/token_transfer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth_portfolio/_loaders/token_transfer.py b/eth_portfolio/_loaders/token_transfer.py index eb95ab30..e7904981 100644 --- a/eth_portfolio/_loaders/token_transfer.py +++ b/eth_portfolio/_loaders/token_transfer.py @@ -103,6 +103,9 @@ async def load_token_transfer( else: coro_results["transaction_index"] = await tx_index_coro + if coro_results["transaction_index"] is None: + raise TypeError(None, coro_results, transfer_log) + except Exception as e: logger.error( f"%s %s for %s %s at block %s:",