diff --git a/src/vs/workbench/parts/emmet/node/emmetActions.ts b/src/vs/workbench/parts/emmet/node/emmetActions.ts index 26ecdc389e7c6..e3fa80ce25f7d 100644 --- a/src/vs/workbench/parts/emmet/node/emmetActions.ts +++ b/src/vs/workbench/parts/emmet/node/emmetActions.ts @@ -91,8 +91,12 @@ class LazyEmmet { private updateEmmetPreferences(configurationService: IConfigurationService, _emmet: typeof emmet) { let emmetPreferences = configurationService.getConfiguration().emmet; - _emmet.loadPreferences(emmetPreferences.preferences); - _emmet.loadProfiles(emmetPreferences.syntaxProfiles); + try { + _emmet.loadPreferences(emmetPreferences.preferences); + _emmet.loadProfiles(emmetPreferences.syntaxProfiles); + } catch (err) { + // ignore + } } private resetEmmetPreferences(configurationService: IConfigurationService, _emmet: typeof emmet) {