提交 2591ede9 编写于 作者: S Sandeep Somavarapu

#98389 ignore error

上级 f08d0225
......@@ -418,6 +418,7 @@ export class SettingsSynchroniser extends AbstractJsonFileSynchroniser {
}
async recoverSettings(): Promise<void> {
try {
const fileContent = await this.getLocalFileContent();
if (!fileContent) {
return;
......@@ -429,7 +430,7 @@ export class SettingsSynchroniser extends AbstractJsonFileSynchroniser {
}
const settingsSyncContent = this.parseSettingsSyncContent(syncData.content);
if (!settingsSyncContent) {
if (!settingsSyncContent || !settingsSyncContent.settings) {
return;
}
......@@ -445,6 +446,7 @@ export class SettingsSynchroniser extends AbstractJsonFileSynchroniser {
}
await this.fileService.writeFile(this.file, VSBuffer.fromString(settings));
} catch (e) {/* ignore */ }
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册