Skip to content

Commit 69b8456

Browse files
committed
Don't catch the server activation error
1 parent a77ac93 commit 69b8456

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

editors/code/src/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,7 @@ async function activateServer(ctx: Ctx): Promise<RustAnalyzerExtensionApi> {
9191
ctx.subscriptions
9292
);
9393

94-
await ctx.activate().catch((err) => {
95-
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer server: ${err.message}`);
96-
});
97-
94+
await ctx.activate();
9895
return ctx.clientFetcher();
9996
}
10097

0 commit comments

Comments
 (0)