aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcgi/weabot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py
index b8b9f96..d809cf0 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -64,6 +64,8 @@ class weabot(object):
except UserError, message:
self.error(message)
except Exception, inst:
+ logging.exception(inst)
+
import sys
import traceback
exc_type, exc_value, exc_traceback = sys.exc_info()