aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-02-25 14:15:15 +0100
committerGravatar Matteo Bertucci <[email protected]>2021-02-25 14:15:15 +0100
commit8939c8e127d49f9f534679d5ff9bdef907730e13 (patch)
tree1824692a9611f3990dd764da11c35c3b59a4d4be /backend
parentDon't communicate the traceback back to the backend (diff)
Add return code 6 for exceptions when loading module
Diffstat (limited to 'backend')
-rw-r--r--backend/routes/forms/unittesting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/routes/forms/unittesting.py b/backend/routes/forms/unittesting.py
index f7f6072..c00fc4c 100644
--- a/backend/routes/forms/unittesting.py
+++ b/backend/routes/forms/unittesting.py
@@ -98,7 +98,7 @@ async def execute_unittest(form_response: FormResponse, form: Form) -> list[Unit
return_code = int(response["returncode"])
# Another code has been returned by CPython because of another failure.
- if return_code not in (0, 5, 99):
+ if return_code not in (0, 5, 6, 99):
return_code = 99
result = "Internal error."
else: