Oops, forgot a return.

This commit is contained in:
Jeremy Fincher 2004-01-27 00:36:50 +00:00
parent 46e6fdaa62
commit 5b4b7f2e4b

View File

@ -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))