vscode-postrefactor: unhandled promise rejections shall not pass
This commit is contained in:
parent
b0bf495262
commit
028a4aa99f
@ -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…
x
Reference in New Issue
Block a user