Skip to content

Commit 2915ec8

Browse files
authored
fix: Fall back to JS LSP agent when native binary fails on non-Linux (#154)
1 parent 0be3112 commit 2915ec8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/lsp/LsStreamConnectionProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public void start() throws IOException {
7979
Thread.sleep(1000);
8080
CopilotCore.LOGGER.info("Retrying binary LSP agent start on Linux.");
8181
startBinaryLspAgent();
82+
} else {
83+
throw e;
8284
}
8385
}
8486
} catch (Exception e) {

0 commit comments

Comments
 (0)