Skip to content

Commit

Permalink
Improve grader run task logging and failure message (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstaeding authored Nov 17, 2022
1 parent b50709e commit c36c300
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ abstract class GraderRunTask : DefaultTask(), GraderTask {
jagr.logger.info("Exported $rubricCount rubrics")
}
val rubricLocation = URI("file", "", rubricOutputDir.toURI().path + "result.html", null, null).toString()
jagr.logger.info("See rubric at $rubricLocation")
jagr.logger.info("See the rubric at $rubricLocation")
if (failed) {
throw GradleException("Grading failed! See the rubric at $rubricLocation")
throw GradleException("Grading completed with failing tests! See the rubric at $rubricLocation")
}
}

Expand Down

0 comments on commit c36c300

Please sign in to comment.