[json] no problem marker when schema can not be loaded
This commit is contained in:
parent
035446d127
commit
0664d43e92
|
@ -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());
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue