mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
Don't catch the server activation error
This commit is contained in:
parent
a77ac93b2a
commit
69b845674c
1 changed files with 1 additions and 4 deletions
|
@ -91,10 +91,7 @@ async function activateServer(ctx: Ctx): Promise<RustAnalyzerExtensionApi> {
|
||||||
ctx.subscriptions
|
ctx.subscriptions
|
||||||
);
|
);
|
||||||
|
|
||||||
await ctx.activate().catch((err) => {
|
await ctx.activate();
|
||||||
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer server: ${err.message}`);
|
|
||||||
});
|
|
||||||
|
|
||||||
return ctx.clientFetcher();
|
return ctx.clientFetcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue