mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Last 2023 Spring RCOS push
This commit is contained in:
@@ -162,7 +162,8 @@ export class Client extends EventEmitter {
|
||||
this.axiosCustom.interceptors.response.use((response) => {
|
||||
return response;
|
||||
}, function (err) {
|
||||
throw `REQUEST FAILED WITH STATUS CODE ${err.response.status} AND REASON "${err.response.data.message}"`;
|
||||
console.log(err.response.data);
|
||||
throw `REQUEST FAILED WITH STATUS CODE ${err.response.status} AND REASON "${JSON.stringify(err.response.data)}"`;
|
||||
});
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user