fixing error handler interceptor (#12761)

This commit is contained in:
Bogdan Ilchyshyn
2022-07-04 17:06:34 +10:00
committed by GitHub
parent 2f81e2d9e1
commit 97daba5c58
12 changed files with 12 additions and 12 deletions

View File

@@ -181,7 +181,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}

View File

@@ -192,7 +192,7 @@ export class BaseAPI {
}) || response;
}
}
if (response !== undefined) {
if (response === undefined) {
throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
}
}