Skip to content

Commit 3237e3f

Browse files
Merge pull request #6149 from continuedev/nate/migration-no-throw
Fix bug caused by empty config.json
2 parents c95dec7 + dd81368 commit 3237e3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/config/migrateSharedConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,6 @@ export function migrateJsonSharedConfig(filepath: string, ide: IDE): void {
211211
new GlobalContext().updateSharedConfig(shareConfigUpdates);
212212
}
213213
} catch (e) {
214-
throw new Error(`Migration: Failed to parse config.json: ${e}`);
214+
console.error(`Migration: Failed to parse config.json: ${e}`);
215215
}
216216
}

extensions/vscode/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)