Skip to content

Commit

Permalink
Show evaluator errors in submission test messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes98 committed Apr 28, 2024
1 parent fb5bdb6 commit 6b95ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/submission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def update_test_messages

judge_data = self.judge_data
return if judge_data.status == :pending # incomplete judge_log
return if judge_data.errored? # judge errored - very bad
return if judge_data.data.has_key?('error') # judge errored - very bad

errors = []
warnings = []
Expand Down

0 comments on commit 6b95ed6

Please sign in to comment.