Skip to content

Commit

Permalink
change error type for 'solution.py' not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
inteon committed Jul 6, 2022
1 parent 2c7169c commit 6b46101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e_stdout/test-turtle-judge/oef4_solution.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"accepted": false,
"command": "close-judgement",
"status": {
"enum": "internal error",
"human": "Interne fout"
"enum": "runtime error",
"human": "Gecrasht bij testen"
}
}
2 changes: 1 addition & 1 deletion turtle_judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

if not os.path.exists(config.solution_file):
raise DodonaException(
config.translator.error_status(ErrorType.INTERNAL_ERROR),
config.translator.error_status(ErrorType.RUNTIME_ERROR),
permission=MessagePermission.STAFF,
description=f"Could not find solution file: '{config.solution_file}'.",
format=MessageFormat.TEXT,
Expand Down

0 comments on commit 6b46101

Please sign in to comment.