mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
[json] no problem marker when schema can not be loaded
This commit is contained in:
@@ -102,7 +102,7 @@ let schemaRequestService = (uri:string): Thenable<string> => {
|
||||
return xhr({ url: uri, followRedirects: 5 }).then(response => {
|
||||
return response.responseText;
|
||||
}, (error: XHRResponse) => {
|
||||
return error.responseText || getErrorStatusDescription(error.status) || error.toString();
|
||||
return Promise.reject(error.responseText || getErrorStatusDescription(error.status) || error.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user