mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Oops, forgot a return.
This commit is contained in:
parent
46e6fdaa62
commit
5b4b7f2e4b
@ -61,7 +61,7 @@ class Formatter(logging.Formatter):
|
|||||||
try:
|
try:
|
||||||
# Cgitb has bugs, and they break the bot.
|
# Cgitb has bugs, and they break the bot.
|
||||||
#return cgitb.text((E, e, tb)).rstrip('\r\n')
|
#return cgitb.text((E, e, tb)).rstrip('\r\n')
|
||||||
logging.Formatter.formatException(self, (E, e, tb))
|
return logging.Formatter.formatException(self, (E, e, tb))
|
||||||
except:
|
except:
|
||||||
error('Cgitb.text raised an exception.')
|
error('Cgitb.text raised an exception.')
|
||||||
return logging.Formatter.formatException(self, (E, e, tb))
|
return logging.Formatter.formatException(self, (E, e, tb))
|
||||||
|
Loading…
Reference in New Issue
Block a user