mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Catch all exceptions when loading cached message
This commit is contained in:
parent
86711b0e5c
commit
9ca89b3dfa
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public final class CachedMessage {
|
|||
public SignalServiceEnvelope loadEnvelope() {
|
||||
try {
|
||||
return MessageCacheUtils.loadEnvelope(file);
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) {
|
||||
logger.error("Failed to load cached message envelope “{}”: {}", file, e.getMessage());
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue