mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Log error for fatal load errors
This commit is contained in:
1 parent
adcc88823f
commit
25fb1b08bc
1 file changed
+3
@@ -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