Skip to content

Commit

Permalink
Fix logging crash
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 9, 2025
1 parent 3a60b40 commit 879664c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/confirmation.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ def wait_and_broadcast_multiple_nodes_mev_blocker(
if not isinstance(e, TransactionNotFound):
logger.info("No receipt yet, current nonce: %d, exception %s", nonce, e, exc_info=e)
else:
logger.info(f"TransactionNotFound - will keep trying. Primary tx hash: {tx_hash.hex()}, backup provider tx_hash: {tx_hash_2.hex()}")
logger.info(f"TransactionNotFound - will keep trying. Primary tx hash: {tx_hash.hex()}, backup provider tx_hash: {tx_hash_2.hex() if tx_hash_2 else '-'}")

last_exception = e

Expand Down

0 comments on commit 879664c

Please sign in to comment.