This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 1ac9a9ed authored by Cont Deploy's avatar Cont Deploy
Browse files

log mail sending

parent 305fea74
Branches
2 merge requests!203Just trivial merge back from master to development,!194Merge Master Bugfix back to Development
...@@ -124,7 +124,7 @@ public class MailService { ...@@ -124,7 +124,7 @@ public class MailService {
javaMailSender.send(mimeMessage); javaMailSender.send(mimeMessage);
log.debug("Sent email to User '{}'", to); log.debug("Sent email to User '{}'", to);
return true; return true;
} catch (MailException | MessagingException e) { } catch (Exception e) {
log.warn("Email could not be sent to user '{}'", to, e); log.warn("Email could not be sent to user '{}'", to, e);
return false; return false;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment