mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 21:47:04 +00:00
Auto merge of #13444 - Veykril:rethrow-err, r=Veykril
fix: Don't catch the server activation error We are are rethrowing and showing errors higher up in the call stack already. This just ate the error hiding the stacktrace unnecessarily.
This commit is contained in:
commit
32614e27fb
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user