]> git.hungrycats.org Git - bees/commitdiff
trace: clean up the formatting around top-level exception log messages
authorZygo Blaxell <bees@furryterror.org>
Fri, 14 Feb 2025 05:47:03 +0000 (00:47 -0500)
committerZygo Blaxell <bees@furryterror.org>
Thu, 19 Jun 2025 01:17:48 +0000 (21:17 -0400)
Fewer newlines.  More consistent application of the "TRACE:" prefix.
All at the same log level.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees.cc

index c447a99faf0ae24d4d5d78fa5915ee92f88f6e88..bf58d25795530c15d5bcc8315479ef887d8d78c0 100644 (file)
@@ -741,7 +741,7 @@ bees_main(int argc, char *argv[])
                        BEESLOGDEBUG("exception (ignored): " << s);
                        BEESCOUNT(exception_caught_silent);
                } else {
-                       BEESLOGNOTICE("\n\nTRACE: *** EXCEPTION ***\n\t" << s << "\n***\n");
+                       BEESLOG(BEES_TRACE_LEVEL, "TRACE: EXCEPTION: " << s);
                        BEESCOUNT(exception_caught);
                }
        });