fix(ui): show error responses in ui
This commit is contained in:
parent
d9bf22b04c
commit
4e190cc00d
1 changed files with 1 additions and 3 deletions
|
|
@ -160,9 +160,7 @@ export default class APIClient {
|
|||
} else {
|
||||
return Promise.reject({ message: `! ${this.init.method} error on ${path}; ${response.status}`, response });
|
||||
}
|
||||
}).catch((error) => {
|
||||
return Promise.reject({ message: `! ${this.init.method} error on ${path};` });
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
async refreshToken(): Promise<string> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue