Log error for fatal load errors
This commit is contained in:
		
							parent
							
								
									adcc88823f
								
							
						
					
					
						commit
						25fb1b08bc
					
				@ -65,6 +65,9 @@ public class SignalAccountFiles {
 | 
				
			|||||||
            } catch (NotRegisteredException | IOException | AccountCheckException e) {
 | 
					            } catch (NotRegisteredException | IOException | AccountCheckException e) {
 | 
				
			||||||
                logger.warn("Ignoring {}: {} ({})", a.number(), e.getMessage(), e.getClass().getSimpleName());
 | 
					                logger.warn("Ignoring {}: {} ({})", a.number(), e.getMessage(), e.getClass().getSimpleName());
 | 
				
			||||||
                return null;
 | 
					                return null;
 | 
				
			||||||
 | 
					            } catch (Throwable e) {
 | 
				
			||||||
 | 
					                logger.error("Failed to load {}: {} ({})", a.number(), e.getMessage(), e.getClass().getSimpleName());
 | 
				
			||||||
 | 
					                throw e;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }).filter(Objects::nonNull).toList();
 | 
					        }).filter(Objects::nonNull).toList();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user