Skip to content

Commit

Permalink
Increase logs for ethereum tx issue
Browse files Browse the repository at this point in the history
- As discussed with @luarx
  • Loading branch information
Uxio0 committed Nov 21, 2024
1 parent 9581fc7 commit 63b15bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion safe_transaction_service/history/services/index_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,11 @@ def txs_create_or_update_from_tx_hashes(
# TODO Remove, this is meant to detect a bug on production
for tx_hash, ethereum_tx in ethereum_txs_dict.items():
if not ethereum_tx:
logger.error("Unexpected missing tx with tx-hash=%s", tx_hash)
logger.error(
"Unexpected missing tx with tx-hash=%s . Exists on database=%s",
tx_hash,
EthereumTx.objects.filter(tx_hash=tx_hash).exists(),
)

return list(ethereum_txs_dict.values())

Expand Down

0 comments on commit 63b15bf

Please sign in to comment.