extended password reset exception from ThingsboardException to Exception

This commit is contained in:
dashevchenko 2024-01-24 17:19:05 +02:00
parent 6c6b606fdf
commit a2ab231465

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