diff options
author | bai | 2020-07-30 05:52:28 -0400 |
---|---|---|
committer | bai | 2020-07-30 05:52:28 -0400 |
commit | 256445343323a7cb4e9015f680af8c7a387d6f1b (patch) | |
tree | 713a8606076e17f6232905925be30967174e4b92 | |
parent | c0a967d9c9f3bcb674b7fcbbdab6c8879ae9a6b0 (diff) | |
download | weabot-256445343323a7cb4e9015f680af8c7a387d6f1b.tar.gz weabot-256445343323a7cb4e9015f680af8c7a387d6f1b.tar.xz weabot-256445343323a7cb4e9015f680af8c7a387d6f1b.zip |
Agregado logeo de excepciones
-rwxr-xr-x | cgi/weabot.py | 2 |
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() |