mirror of https://github.com/zulip/zulip.git
jabber_mirror: Explicitly exit when we encounter an error in the main loop
(imported from commit 19b0f29bfd8c01fa300bdb9db2011bba0b55ddd4)
This commit is contained in:
parent
0224fe2db6
commit
a9e439d9e0
|
@ -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 New Issue