change: error response message passing
This commit is contained in:
parent
16f2049dc4
commit
fd042cf18d
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ export class WebApiClient extends BaseClient {
|
|||
resolve();
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("Error refreshing webapi token:", error);
|
||||
reject("failed token retrieve");
|
||||
console.error("Error refreshing webapi token:", error.response.data);
|
||||
reject(`failed token retrieve: ${error.response.data}`);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue