less noisy test log

This commit is contained in:
Jack Robison 2022-02-20 12:44:36 -05:00
parent a17a31acf5
commit bed3255b89
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -1579,12 +1579,16 @@ class BlockProcessor:
if not blocks:
try:
await self.refresh_mempool()
except asyncio.CancelledError:
raise
except Exception:
self.logger.exception("error while updating mempool txs")
raise
else:
try:
await self.check_and_advance_blocks(blocks)
except asyncio.CancelledError:
raise
except Exception:
self.logger.exception("error while processing txs")
raise