Skip to content

Commit

Permalink
Remove logging of "no-reply" address not set email errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Apr 2, 2015
1 parent 3a8aa7c commit e945eeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ public boolean sendSystemEmail(String to, String subject, String messageText) {
logger.warning("Failed to send mail to " + to + " (SMTPSendFailedException)");
}
} else {
logger.warning("Skipping sending mail to " + to + ", because the \"no-reply\" address not set.");
// commenting out the warning so as not to clutter the log of installations that haven't set up mail
// logger.warning("Skipping sending mail to " + to + ", because the \"no-reply\" address not set.");
}
} catch (AddressException ae) {
logger.warning("Failed to send mail to " + to);
Expand Down

0 comments on commit e945eeb

Please sign in to comment.