extended password reset exception from ThingsboardException to Exception
This commit is contained in:
		
							parent
							
								
									6c6b606fdf
								
							
						
					
					
						commit
						a2ab231465
					
				@ -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());
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user