Skip to content

Commit

Permalink
fixed wrong logging
Browse files Browse the repository at this point in the history
  • Loading branch information
olech2412 committed Sep 2, 2024
1 parent a751ebb commit 669585f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public List<Result<MailUser, MailError>> forceSendMail(List<MailUser> mailUsers,
Result<MailUser, MailError> mailResult = mailer.sendSpeiseplan(mailUser, mealsService.findAllMealsByServingDateAndMensa(today, mensa), mensa, isUpdate);
if (mailResult.isSuccess()) {
updateSentCounter.increment();
log.info("Update sent to {} for mensa {}", mailUser.getEmail(), mensa.getName());
log.info("Mail sent to {} for mensa {}, isUpdate={}", mailUser.getEmail(), mensa.getName(), isUpdate);
results.add(mailResult);
} else {
updateSentCounterFailure.increment();
Expand Down

0 comments on commit 669585f

Please sign in to comment.