Skip to content

Commit

Permalink
Logging the email as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Camelia-Orcid committed Nov 7, 2024
1 parent c383f80 commit a2fd236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private void sendEmail(String clientId, LocalDate requestDate) {
// Send the email
boolean mailSent = mailGunManager.sendEmail(FROM_ADDRESS, email, SUBJECT, body, html);
if (!mailSent) {
LOG.error("Failed to send email for papi limits, orcid=" + profile.getId());
LOG.error("Failed to send email for papi limits, orcid=" + profile.getId() + " email: " + email);
}
}

Expand Down

0 comments on commit a2fd236

Please sign in to comment.