Browse Source
Merge pull request #10055 from dashevchenko/resetPasswordSilent
Extended error handling from ThingsboardException to Exception
pull/10060/head
Andrew Shvayka
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
application/src/main/java/org/thingsboard/server/service/mail/DefaultMailService.java
|
|
|
@ -181,7 +181,7 @@ public class DefaultMailService implements MailService { |
|
|
|
passwordResetExecutorService.execute(() -> { |
|
|
|
try { |
|
|
|
this.sendResetPasswordEmail(passwordResetLink, email); |
|
|
|
} catch (ThingsboardException e) { |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("Error occurred: {} ", e.getMessage()); |
|
|
|
} |
|
|
|
}); |
|
|
|
|