diff --git a/apps/blockchain-node/src/aitbc_chain/sync.py b/apps/blockchain-node/src/aitbc_chain/sync.py index cc0ac1ea..1bd36f20 100755 --- a/apps/blockchain-node/src/aitbc_chain/sync.py +++ b/apps/blockchain-node/src/aitbc_chain/sync.py @@ -293,7 +293,7 @@ class ChainSync: if result.accepted: imported += 1 else: - logger.warning("Block import failed during bulk", extra={"height": block_data.get("height"), "reason": result.reason}) + logger.warning("Block import failed during bulk", extra={"height": block_data.get("height"), "reason": result.reason, "block_hash": block_data.get("hash")}) # Stop on first failure to avoid gaps return imported