From 256445343323a7cb4e9015f680af8c7a387d6f1b Mon Sep 17 00:00:00 2001 From: bai Date: Thu, 30 Jul 2020 05:52:28 -0400 Subject: Agregado logeo de excepciones --- cgi/weabot.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgi') 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() -- cgit v1.2.1-18-gbd029