diff options
author | jomo <github@jomo.tv> | 2014-06-21 01:12:27 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-06-21 01:12:27 +0200 |
commit | a63a28a2c4891f93fdd21955fa8b7524dd8fb3c9 (patch) | |
tree | af2c479dbed5370089ce54ce1a1a81958b9730a9 /mentio.py | |
parent | 610e926a546307cbdce34b0cf63c33084be90112 (diff) |
catch everything
Diffstat (limited to 'mentio.py')
-rw-r--r-- | mentio.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,6 +32,6 @@ def onChat(event): message = " ".join([sender.getDisplayName(), arrow] + rec_words) msg(recipient, message, usecolor = False) recipient.playSound(recipient.getLocation(), "mob.chicken.plop", 1, 0) - except Exception, e: - error("Failed to handle PlayerChatEvent: %s" % e) + except: + error("Failed to handle PlayerChatEvent:") error(print_traceback())
\ No newline at end of file |