Skip to content

Commit

Permalink
Print verbose stack traces even for module errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ausbin committed Sep 26, 2023
1 parent abba52c commit 1155b52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified CircuitSim.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ public void printStudentSummary(boolean verbose) {
out.printf("%n[FAIL] Test suite: %s: %s%n",
classResult.getId().getDisplayName(),
classResult.getResult().getThrowable().get().getMessage());

if (verbose) {
err.printf("[verbose] stack trace for failure:\n");
classResult.getResult().getThrowable().get().printStackTrace(err);
}

continue;
}

Expand Down

0 comments on commit 1155b52

Please sign in to comment.