]> git.ipfire.org Git - suricata-reporter.git/commitdiff
reporter: Log the entire exception if something unhandled happened
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Aug 2025 13:56:54 +0000 (13:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Aug 2025 13:56:54 +0000 (13:56 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/suricata-reporter.in

index c3c87d9c76b69c18447cf064da732b2e69116f54..3383b91e04129c2b841672518d897ce69d0a143c 100644 (file)
@@ -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")