projects
/
pyutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9154e08
)
Add a str() around exception value in logging message.
author
Scott Gasch
<
[email protected]
>
Sat, 10 Jun 2023 21:41:00 +0000
(14:41 -0700)
committer
Scott Gasch
<
[email protected]
>
Sat, 10 Jun 2023 21:41:00 +0000
(14:41 -0700)
src/pyutils/logging_utils.py
patch
|
blob
|
history
diff --git
a/src/pyutils/logging_utils.py
b/src/pyutils/logging_utils.py
index f5a0b7c7a87afb0de4c024ade5afe3d5bb20344a..a4a5d2020364cc9b5296651d6a92d59de95a2425 100644
(file)
--- 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,
)