From: Michael Tremer Date: Sun, 31 Aug 2025 13:56:54 +0000 (+0000) Subject: reporter: Log the entire exception if something unhandled happened X-Git-Tag: 0.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05a624499549cfb4d71e81a2043964694a035c0;p=suricata-reporter.git reporter: Log the entire exception if something unhandled happened Signed-off-by: Michael Tremer --- diff --git a/src/suricata-reporter.in b/src/suricata-reporter.in index c3c87d9..3383b91 100644 --- a/src/suricata-reporter.in +++ b/src/suricata-reporter.in @@ -349,7 +349,7 @@ class Worker(multiprocessing.Process): # Log any exceptions, but keep going except Exception as e: - log.error("Failed to process: %s" % e) + log.error("Failed to process: %s" % e, exc_info=True) # Optimize the database before exiting log.debug("Optimizing the database")