Add a str() around exception value in logging message.
authorScott Gasch <[email protected]>
Sat, 10 Jun 2023 21:41:00 +0000 (14:41 -0700)
committerScott Gasch <[email protected]>
Sat, 10 Jun 2023 21:41:00 +0000 (14:41 -0700)
src/pyutils/logging_utils.py

index f5a0b7c7a87afb0de4c024ade5afe3d5bb20344a..a4a5d2020364cc9b5296651d6a92d59de95a2425 100644 (file)
@@ -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,
                 )