mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode-postrefactor: unhandled promise rejections shall not pass
This commit is contained in:
parent
b0bf495262
commit
028a4aa99f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export async function activate(context: vscode.ExtensionContext) {
|
|||
|
||||
const config = new Config(context);
|
||||
|
||||
vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config));
|
||||
vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config).catch(log.error));
|
||||
|
||||
// Don't await the user response here, otherwise we will block the lsp server bootstrap
|
||||
void ensureProperExtensionVersion(config);
|
||||
|
|
Loading…
Reference in a new issue