Use the logException function in all places where exception messages are written to the error log
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user