Commit f4ce41be20d45e3be95337f62d50301d5ef700e4
Committed by
Andrew Shvayka
1 parent
d074ee7e
added logging for failure to send mail
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -277,6 +277,7 @@ public class DefaultMailService implements MailService { |
277 | 277 | } else { |
278 | 278 | message = exception.getMessage(); |
279 | 279 | } |
280 | + log.warn("Unable to send mail: {}", message); | |
280 | 281 | return new ThingsboardException(String.format("Unable to send mail: %s", message), |
281 | 282 | ThingsboardErrorCode.GENERAL); |
282 | 283 | } | ... | ... |