Make a logging with error level meaningful
This commit is contained in:
parent
a2be87b85a
commit
270a356e76
@ -53,7 +53,7 @@ def get_timestamp(use_utc=None, ts_format=None):
|
||||
def stream(output, level="normal"):
|
||||
if botconfig.VERBOSE_MODE or botconfig.DEBUG_MODE:
|
||||
plog(output)
|
||||
elif level == "warning":
|
||||
elif level in ("warning", "error"):
|
||||
plog(output)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user