Use the logException function in all places where exception messages are written to the error log

This commit is contained in:
Veronica K. B. Olsen
2021-01-29 18:29:50 +01:00
parent a2f223a992
commit 89ba4aeeaf
11 changed files with 72 additions and 63 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ logger = logging.getLogger(__name__)
# Utility Functions
# =============================================================================================== #
def logException(exObj):
def logException():
"""Log the content of an exception message.
"""
exType, exValue, _ = sys.exc_info()