We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc89446 commit a5493aaCopy full SHA for a5493aa
src/abpHttp.ts
@@ -198,11 +198,11 @@ export class AbpHttpConfiguration {
198
var ajaxResponse = this.getAbpAjaxResponseOrNull(error);
199
if (ajaxResponse != null) {
200
this.handleAbpResponse(error, ajaxResponse);
201
+ return Observable.throw(ajaxResponse.error);
202
} else {
203
this.handleNonAbpErrorResponse(error);
204
+ return Observable.throw('HTTP error: ' + error.status + ', ' + error.statusText);
205
}
-
- return Observable.throw('HTTP error: ' + error.status + ', ' + error.statusText);
206
207
208
0 commit comments