added a todo
This commit is contained in:
parent
8b991b7efd
commit
1091c6a484
|
|
@ -46,7 +46,7 @@ def log_message(message, level="ERROR"):
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
level = level.lower()
|
level = level.lower()
|
||||||
logging.__getattribute__(level)(' ' + message)
|
logging.__getattribute__(level)(' ' + message) # TODO: Error handling on type error
|
||||||
logging.__getattribute__(level)(traceback.format_exc())
|
logging.__getattribute__(level)(traceback.format_exc())
|
||||||
logging.__getattribute__(level)(__GLk())
|
logging.__getattribute__(level)(__GLk())
|
||||||
if level in ["critical"]:
|
if level in ["critical"]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue