mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-25 10:04:23 +01:00
Log error for fatal load errors
This commit is contained in:
@@ -65,6 +65,9 @@ public class SignalAccountFiles {
|
||||
} catch (NotRegisteredException | IOException | AccountCheckException e) {
|
||||
logger.warn("Ignoring {}: {} ({})", a.number(), e.getMessage(), e.getClass().getSimpleName());
|
||||
return null;
|
||||
} catch (Throwable e) {
|
||||
logger.error("Failed to load {}: {} ({})", a.number(), e.getMessage(), e.getClass().getSimpleName());
|
||||
throw e;
|
||||
}
|
||||
}).filter(Objects::nonNull).toList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user