mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Log error for fatal load errors
This commit is contained in:
parent
adcc88823f
commit
25fb1b08bc
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue