fix(backend-proxy): fix error reporting (#3527)
This commit is contained in:
parent
1bca0884f2
commit
f94dea386c
@ -93,7 +93,7 @@ export default class ProxyBackend implements Implementation {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
return json;
|
return json;
|
||||||
} else {
|
} else {
|
||||||
throw new APIError(json.message, response.status, 'Proxy');
|
throw new APIError(json.error, response.status, 'Proxy');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user