logging
This commit is contained in:
parent
e07c3d39dc
commit
ba2e2a1dcc
1 changed files with 0 additions and 2 deletions
|
@ -85,10 +85,8 @@ class BlockchainService:
|
|||
async def _run(self):
|
||||
try:
|
||||
await self.start()
|
||||
self.log.info("finished start(), waiting for shutdown event")
|
||||
await self.shutdown_event.wait()
|
||||
except (SystemExit, KeyboardInterrupt, asyncio.CancelledError):
|
||||
self.log.warning("exiting")
|
||||
self._stopping = True
|
||||
except Exception as err:
|
||||
self.log.exception("unexpected fatal error: %s", err)
|
||||
|
|
Loading…
Reference in a new issue