From: Scott Gasch Date: Sat, 10 Jun 2023 21:41:00 +0000 (-0700) Subject: Add a str() around exception value in logging message. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=fab35ce84f1a03b071e09676f272b94a6ebc6b02;p=pyutils.git Add a str() around exception value in logging message. --- 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, )