runner bugfix

This commit is contained in:
Tim
2024-02-13 23:55:17 -04:00
parent 9b6a9c3cda
commit 993b38dce4

View File

@@ -402,11 +402,12 @@ class BlockStateRunner:
self.state.delete_block(block.hash) self.state.delete_block(block.hash)
if config.parallel_logevent_queries: if config.parallel_logevent_queries:
for get_logs, *_ in batches: for get_logs, *_ in batches:
# noinspection PyBroadException if get_logs is not None:
try: # noinspection PyBroadException
await get_logs try:
except Exception: await get_logs
log.exception('exception while querying logs') except Exception:
log.exception('exception while querying logs')
raise raise
else: else:
if session is not None: if session is not None: