jabber_mirror: Explicitly exit when we encounter an error in the main loop
(imported from commit 19b0f29bfd8c01fa300bdb9db2011bba0b55ddd4)
This commit is contained in:
parent
43ef992ab0
commit
45b90fc33d
|
@ -426,3 +426,4 @@ option does not affect login credentials.'''.replace("\n", " "))
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
logging.exception("Exception in main loop")
|
logging.exception("Exception in main loop")
|
||||||
xmpp.abort()
|
xmpp.abort()
|
||||||
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue