Skip to content

Commit 028a4aa

Browse files
author
Veetaha
committed
vscode-postrefactor: unhandled promise rejections shall not pass
1 parent b0bf495 commit 028a4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function activate(context: vscode.ExtensionContext) {
3535

3636
const config = new Config(context);
3737

38-
vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config));
38+
vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config).catch(log.error));
3939

4040
// Don't await the user response here, otherwise we will block the lsp server bootstrap
4141
void ensureProperExtensionVersion(config);

0 commit comments

Comments
 (0)