From 69b845674c44cc14793a9d3727ff687c0141cf72 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 20 Oct 2022 11:32:02 +0200 Subject: [PATCH] Don't catch the server activation error --- editors/code/src/main.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index f65620aebc..c47680fbac 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -91,10 +91,7 @@ async function activateServer(ctx: Ctx): Promise { ctx.subscriptions ); - await ctx.activate().catch((err) => { - void vscode.window.showErrorMessage(`Cannot activate rust-analyzer server: ${err.message}`); - }); - + await ctx.activate(); return ctx.clientFetcher(); }