diff --git a/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/AbstractProtocolServer.java b/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/AbstractProtocolServer.java index aa6fc7c69..5146faf97 100644 --- a/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/AbstractProtocolServer.java +++ b/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/AbstractProtocolServer.java @@ -77,7 +77,7 @@ public AbstractProtocolServer(InputStream input, OutputStream output, Logger log requestSubject.observeOn(Schedulers.newThread()).subscribe(request -> { try { this.dispatchRequest(request); - } catch (Exception e) { + } catch (Throwable e) { logger.log(Level.SEVERE, String.format("Dispatch debug protocol error: %s", e.toString()), e); } });