aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar bai 2020-07-30 05:52:28 -0400
committerLibravatar bai 2020-07-30 05:52:28 -0400
commit256445343323a7cb4e9015f680af8c7a387d6f1b (patch)
tree713a8606076e17f6232905925be30967174e4b92 /cgi
parentc0a967d9c9f3bcb674b7fcbbdab6c8879ae9a6b0 (diff)
downloadweabot-256445343323a7cb4e9015f680af8c7a387d6f1b.tar.gz
weabot-256445343323a7cb4e9015f680af8c7a387d6f1b.tar.xz
weabot-256445343323a7cb4e9015f680af8c7a387d6f1b.zip
Agregado logeo de excepciones
Diffstat (limited to 'cgi')
-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()