Change panic() reason log from ERROR to CRITICAL

This commit is contained in:
jesopo 2019-06-17 11:12:04 +01:00
parent 9ea356bc49
commit da5d48400d

View file

@ -107,7 +107,7 @@ class Bot(object):
callback = None callback = None
if not reason == None: if not reason == None:
self.log.error("panic() called: %s", [reason]) self.log.critical("panic() called: %s", [reason])
exception = sys.exc_info()[1] exception = sys.exc_info()[1]
if exception: if exception: