runner worker error reports

This commit is contained in:
Tim Olson
2023-12-28 21:40:52 -04:00
parent 8a9813baed
commit 52cb2f8ad0

View File

@@ -174,6 +174,7 @@ class BlockStateRunner:
async def worker(self): async def worker(self):
try:
log.debug(f'runner worker started') log.debug(f'runner worker started')
w3 = current_w3.get() w3 = current_w3.get()
chain = current_chain.get() chain = current_chain.get()
@@ -197,6 +198,10 @@ class BlockStateRunner:
prev_head = head prev_head = head
except Exception as x: except Exception as x:
log.exception(x) log.exception(x)
except:
log.exception('exception in runner worker')
raise
finally:
log.debug('runner worker exiting') log.debug('runner worker exiting')