Don't catch the server activation error

This commit is contained in:
Lukas Wirth 2022-10-20 11:32:02 +02:00
parent a77ac93b2a
commit 69b845674c

View file

@ -91,10 +91,7 @@ async function activateServer(ctx: Ctx): Promise<RustAnalyzerExtensionApi> {
ctx.subscriptions
);
await ctx.activate().catch((err) => {
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer server: ${err.message}`);
});
await ctx.activate();
return ctx.clientFetcher();
}