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();
|
resolve();
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error("Error refreshing webapi token:", error);
|
console.error("Error refreshing webapi token:", error.response.data);
|
||||||
reject("failed token retrieve");
|
reject(`failed token retrieve: ${error.response.data}`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue