We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac4c8f8 commit 4e849f2Copy full SHA for 4e849f2
1 file changed
src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts
@@ -73,8 +73,8 @@ class ResourceModelCollection extends ReferenceCollection<TPromise<ITextEditorMo
73
74
return first(factories).then(model => {
75
if (!model) {
76
- console.error(`Could not resolve any model with uri '${resource}'.`); // TODO PII
77
- return TPromise.wrapError('Could not resolve any model with provided uri.');
+ console.error(`Unable to open '${resource}' resource is not available.`); // TODO PII
+ return TPromise.wrapError('resource is not available');
78
}
79
80
return model;
0 commit comments