Skip to content

Commit 32614e2

Browse files
committed
Auto merge of rust-lang#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.
2 parents a77ac93 + 69b8456 commit 32614e2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

editors/code/src/main.ts

+1-4
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)