Skip to content

Commit 99ba33d

Browse files
committed
Potential fix for microsoft#82611
1 parent e02e20c commit 99ba33d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/vs/workbench/services/configurationResolver/common/variableResolver.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,11 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe
276276
return match;
277277

278278
default:
279-
return this.resolveFromMap(match, variable, commandValueMapping, undefined);
279+
try {
280+
return this.resolveFromMap(match, variable, commandValueMapping, undefined);
281+
} catch (error) {
282+
return match;
283+
}
280284
}
281285
}
282286
}

0 commit comments

Comments
 (0)