mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix bug in logger. Resolve #3149
This commit is contained in:
parent
2f14b978b6
commit
819fb8272a
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue