mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Oops, forgot a return.
This commit is contained in:
parent
46e6fdaa62
commit
5b4b7f2e4b
@ -61,7 +61,7 @@ class Formatter(logging.Formatter):
|
||||
try:
|
||||
# Cgitb has bugs, and they break the bot.
|
||||
#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:
|
||||
error('Cgitb.text raised an exception.')
|
||||
return logging.Formatter.formatException(self, (E, e, tb))
|
||||
|
Loading…
Reference in New Issue
Block a user