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: if not blocks:
try: try:
await self.refresh_mempool() await self.refresh_mempool()
except asyncio.CancelledError:
raise
except Exception: except Exception:
self.logger.exception("error while updating mempool txs") self.logger.exception("error while updating mempool txs")
raise raise
else: else:
try: try:
await self.check_and_advance_blocks(blocks) await self.check_and_advance_blocks(blocks)
except asyncio.CancelledError:
raise
except Exception: except Exception:
self.logger.exception("error while processing txs") self.logger.exception("error while processing txs")
raise raise