mirror of
https://github.com/Zygo/bees.git
synced 2025-07-02 00:32:27 +02:00
trace: clean up the formatting around top-level exception log messages
Fewer newlines. More consistent application of the "TRACE:" prefix. All at the same log level. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -741,7 +741,7 @@ bees_main(int argc, char *argv[])
|
|||||||
BEESLOGDEBUG("exception (ignored): " << s);
|
BEESLOGDEBUG("exception (ignored): " << s);
|
||||||
BEESCOUNT(exception_caught_silent);
|
BEESCOUNT(exception_caught_silent);
|
||||||
} else {
|
} else {
|
||||||
BEESLOGNOTICE("\n\nTRACE: *** EXCEPTION ***\n\t" << s << "\n***\n");
|
BEESLOG(BEES_TRACE_LEVEL, "TRACE: EXCEPTION: " << s);
|
||||||
BEESCOUNT(exception_caught);
|
BEESCOUNT(exception_caught);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user