vscode-postrefactor: unhandled promise rejections shall not pass
@@ -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);
