From 45b90fc33d36b582f2ff69528a0879307f03188e Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Mon, 17 Mar 2014 13:20:16 -0400 Subject: [PATCH] jabber_mirror: Explicitly exit when we encounter an error in the main loop (imported from commit 19b0f29bfd8c01fa300bdb9db2011bba0b55ddd4) --- bots/jabber_mirror_backend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bots/jabber_mirror_backend.py b/bots/jabber_mirror_backend.py index 9931120..f0fdc4f 100755 --- a/bots/jabber_mirror_backend.py +++ b/bots/jabber_mirror_backend.py @@ -426,3 +426,4 @@ option does not affect login credentials.'''.replace("\n", " ")) except BaseException as e: logging.exception("Exception in main loop") xmpp.abort() + sys.exit(1)