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