From 6874ecc18985ee21ff2b0ba85acaa62d7af84957 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Fri, 21 Feb 2020 18:22:04 +0100 Subject: [PATCH] fix #90218 --- src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts index a2c70433f6c..fc5a1fea149 100644 --- a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts +++ b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts @@ -402,10 +402,11 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo return; case UserDataSyncErrorCode.TooLarge: if (error.source === SyncSource.Keybindings || error.source === SyncSource.Settings) { + this.disableSync(error.source); const sourceArea = getSyncAreaLabel(error.source); this.notificationService.notify({ severity: Severity.Error, - message: localize('too large', "Disabled sync {0} because size of the {1} file to sync is larger than {2}. Please open the file and reduce the size and enable sync", sourceArea, sourceArea, '100kb'), + message: localize('too large', "Disabled syncing {0} because size of the {1} file to sync is larger than {2}. Please open the file and reduce the size and enable sync", sourceArea, sourceArea, '100kb'), actions: { primary: [new Action('open sync file', localize('open file', "Open {0} file", sourceArea), undefined, true, () => error.source === SyncSource.Settings ? this.preferencesService.openGlobalSettings(true) : this.preferencesService.openGlobalKeybindingSettings(true))]