From 16ad7ae5aa9a3d2a54b8193dc7b7c8175b7ef44b Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 11 Mar 2023 16:02:26 +0000 Subject: [PATCH] Produce consistent log output --- app/log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/log.py b/app/log.py index 80e95b2..2c46e9d 100644 --- a/app/log.py +++ b/app/log.py @@ -75,7 +75,8 @@ def log_uncaught_exceptions(_ex_cls, ex, tb): print("\033[1;31;47m") logging.critical(''.join(traceback.format_tb(tb))) print("\033[1;37;40m") - print(stackprinter.format(ex, style="darkbg2", add_summary=True)) + print(stackprinter.format(ex, show_vals="all", add_summary=True, + style="darkbg")) if os.environ["MM_ENV"] == "PRODUCTION": msg = stackprinter.format(ex) send_mail(Config.ERRORS_TO, Config.ERRORS_FROM,