main: Log uncaught exceptions
This commit is contained in:
parent
3c3fce0187
commit
027b7a53fe
@ -280,6 +280,8 @@ class RootCommand(Command):
|
||||
exit_status_code = 1
|
||||
except KeyboardInterrupt:
|
||||
logger.info('Interrupted. Exiting...')
|
||||
except Exception:
|
||||
logger.exception('Uncaught exception')
|
||||
finally:
|
||||
loop.quit()
|
||||
self.stop_frontends(frontend_classes)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user