From fab35ce84f1a03b071e09676f272b94a6ebc6b02 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 10 Jun 2023 14:41:00 -0700 Subject: [PATCH] Add a str() around exception value in logging message. --- src/pyutils/logging_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyutils/logging_utils.py b/src/pyutils/logging_utils.py index f5a0b7c..a4a5d20 100644 --- a/src/pyutils/logging_utils.py +++ b/src/pyutils/logging_utils.py @@ -1259,7 +1259,7 @@ def unhandled_top_level_exception(exc_type: type, exc_value, exc_tb): program, args, exc_type.__name__, - exc_value, + str(exc_value), site_file, site_lineno, ) -- 2.46.0