Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Mar 31, 2024
1 parent a73059a commit 2f57eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ private void checkAndSend(ScheduledInfoMailCheckJpaEntity scheduledInfoMailCheck
checkAndSendService.checkAndSend(scheduledInfoMailCheckJpaEntity.getDancerId());
log.info("Sucess setting status to done");
scheduledInfoMailCheckJpaEntity.setStatus(ScheduledInfoMailCheckJpaEntity.STATUS.DONE);

} catch (Exception exception) {
log.info("Failure setting status to failed");
scheduledInfoMailCheckJpaEntity.setStatus(ScheduledInfoMailCheckJpaEntity.STATUS.FINALLY_FAILED);
} finally {
scheduledInfoMailCheckJpaRepository.save(scheduledInfoMailCheckJpaEntity);
Expand Down

0 comments on commit 2f57eef

Please sign in to comment.