Skip to content

Commit

Permalink
Tiny change to error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
vteague committed Nov 3, 2024
1 parent bdfe7f8 commit db9cbb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public void Validate(ContestRepository contestRepository) throws RequestValidati
}

if(totalAuditableBallots <= 0) {
final String msg = String.format("%s Non-positive total auditable ballots (%d). Throwing a " +
"RequestValidationException.", prefix, totalAuditableBallots);
final String msg = String.format("%s Non-positive total auditable ballots (%d) for contest %s. Throwing a " +
"RequestValidationException.", prefix, totalAuditableBallots, contestName);
logger.error(msg);
throw new RequestValidationException(msg);
}
Expand Down

0 comments on commit db9cbb2

Please sign in to comment.