189
194
# misbehaves (which is currently very easy, if things aren't set up
196
199
# almost-exception out of it.
200
200
if exc_type is util.IVLEJailError:
202
201
tb = 'Exception information extracted from IVLEJailError:\n'
203
202
tb += urllib.unquote(exc_value.info)
210
204
tb = ''.join(traceback.format_exception(exc_type, exc_value,
215
209
# Error messages are only displayed is the user is NOT a student,
216
210
# or if there has been a problem logging the error message