Merge pull request #10055 from dashevchenko/resetPasswordSilent

Extended error handling from ThingsboardException to Exception
This commit is contained in:
Andrew Shvayka 2024-01-24 17:35:05 +02:00 committed by GitHub
commit d2b1cdc705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());
}
});