Fix bug in logger. Resolve #3149

This commit is contained in:
Griatch 2023-03-23 23:19:14 +01:00
parent 2f14b978b6
commit 819fb8272a

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: