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)
if config.parallel_logevent_queries:
for get_logs, *_ in batches:
# noinspection PyBroadException
try:
await get_logs
except Exception:
log.exception('exception while querying logs')
if get_logs is not None:
# noinspection PyBroadException
try:
await get_logs
except Exception:
log.exception('exception while querying logs')
raise
else:
if session is not None: