提交 f0f4950a 编写于 作者: A Alex Ross

Promise.reject in configurationResolverService should return an Error

Fixes #64550
上级 5b47ccfa
......@@ -266,7 +266,7 @@ export class ConfigurationResolverService extends AbstractVariableResolverServic
});
}
}
return Promise.reject(nls.localize('undefinedInputVariable', "Undefined input variable {0} encountered. Remove or define {0} to continue.", commandVariable));
return Promise.reject(new Error(nls.localize('undefinedInputVariable', "Undefined input variable {0} encountered. Remove or define {0} to continue.", commandVariable)));
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册