Change panic() reason log from ERROR to CRITICAL
This commit is contained in:
parent
9ea356bc49
commit
da5d48400d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue