mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Prevent a stale jsonrpc connection from interfering with message receiving
Fixes #893
This commit is contained in:
parent
832604e763
commit
3f582e9c2e
2 changed files with 10 additions and 11 deletions
|
@ -770,7 +770,7 @@ class ManagerImpl implements Manager {
|
|||
Stream.concat(messageHandlers.stream(), weakHandlers.stream()).forEach(h -> {
|
||||
try {
|
||||
h.handleMessage(envelope, e);
|
||||
} catch (Exception ex) {
|
||||
} catch (Throwable ex) {
|
||||
logger.warn("Message handler failed, ignoring", ex);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue