Fix bug in logger. Resolve #3149

This commit is contained in:
Griatch 2023-03-23 23:19:14 +01:00
parent a9bf05734e
commit 1cb37ccc71

View file

@ -38,7 +38,7 @@ def _log(msg, logfunc, prefix="", **kwargs):
try:
msg = str(msg)
except Exception as err:
msg = str(e)
msg = str(err)
if kwargs:
logfunc(msg, **kwargs)
else: