215
205
codename, msg = req.get_http_codename(httpcode)
226
209
tb = ''.join(traceback.format_exception(exc_type, exc_value,
230
212
logging.error('%s\n%s'%(str(msg), tb))
231
214
# Error messages are only displayed is the user is NOT a student,
232
215
# or if there has been a problem logging the error message
233
216
show_errors = (not publicmode) and ((login and \