From 99ba33dc9d17e09a5cf427dbb164777780ca8d11 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Thu, 17 Oct 2019 10:14:37 +0200 Subject: [PATCH] Potential fix for #82611 --- .../configurationResolver/common/variableResolver.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/services/configurationResolver/common/variableResolver.ts b/src/vs/workbench/services/configurationResolver/common/variableResolver.ts index 03f17d054c8..c6f302d1b3c 100644 --- a/src/vs/workbench/services/configurationResolver/common/variableResolver.ts +++ b/src/vs/workbench/services/configurationResolver/common/variableResolver.ts @@ -276,7 +276,11 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe return match; default: - return this.resolveFromMap(match, variable, commandValueMapping, undefined); + try { + return this.resolveFromMap(match, variable, commandValueMapping, undefined); + } catch (error) { + return match; + } } } } -- GitLab