Re-raise issue was in codejail.

- Undo the previous change.
- Pull in the version of codejail with the fix for the issue.
This commit is contained in:
Feanil Patel
2019-12-11 11:35:58 -05:00
parent a76139da97
commit f52a0f6b98
5 changed files with 5 additions and 5 deletions

View File

@@ -897,7 +897,7 @@ class LoncapaProblem(object):
except Exception as err:
log.exception("Error while execing script code: " + all_code)
msg = Text("Error while executing script code: %s" % str(err))
six.reraise(responsetypes.LoncapaProblemError, responsetypes.LoncapaProblemError(msg))
raise responsetypes.LoncapaProblemError(msg)
# Store code source in context, along with the Python path needed to run it correctly.
context['script_code'] = all_code