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