From 440988a7a9f4029d21291f20d9fa32af0dc590c2 Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria <6909403+Uxio0@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:15:08 +0100 Subject: [PATCH] Increase logs for ethereum tx issue - As discussed with @luarx --- safe_transaction_service/history/services/index_service.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/safe_transaction_service/history/services/index_service.py b/safe_transaction_service/history/services/index_service.py index 1d250efb7..685406b86 100644 --- a/safe_transaction_service/history/services/index_service.py +++ b/safe_transaction_service/history/services/index_service.py @@ -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())