ignore cancelled error

This commit is contained in:
Victor Shyba 2019-11-25 17:27:53 -03:00 committed by Lex Berezhny
parent cc6bdd6295
commit 58df2b9bcf

View file

@ -651,6 +651,8 @@ class BlockProcessor:
self.prefetcher.main_loop(self.height),
self._process_prefetched_blocks()
])
except asyncio.CancelledError:
raise
except:
self.logger.exception("Block processing failed!")
raise