catch everything

This commit is contained in:
jomo
2014-06-21 01:12:27 +02:00
parent 610e926a54
commit a63a28a2c4

View File

@@ -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())