Skip to content
Browse files

Catch any exceptions from Jabber

  • Loading branch information...
1 parent 5bdc19b commit ab81e1d1dc1d84eb66a7d6d9000274d4d911b841 @nelhage committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 party-zephyr.py
View
2 party-zephyr.py
@@ -102,7 +102,7 @@ def run_jabber():
logging.info("Connecting to Jabber...")
bot = BridgeBot(USER, PASS)
bot.serve_forever(connect_callback = bot.on_connect)
- except IOError, e:
+ except Exception, e:
logging.error("IOError in Jabber thread", exc_info=True)
time.sleep(60)

0 comments on commit ab81e1d

Please sign in to comment.
Something went wrong with that request. Please try again.