Prevent a stale jsonrpc connection from interfering with message receiving

Fixes #893
This commit is contained in:
AsamK 2022-02-19 18:46:45 +01:00
parent 832604e763
commit 3f582e9c2e
2 changed files with 10 additions and 11 deletions

View file

@ -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);
}
});