pull/514/head
xiaojunnuo 2025-08-16 12:23:03 +08:00
parent 9b63fb4ee2
commit a20a429e8c
1 changed files with 6 additions and 1 deletions

View File

@ -36,7 +36,10 @@ export class KsyunClient {
}); });
try{ try{
return await this.http.request(config) return await this.http.request({
...config,
data: opts.data
})
}catch (e) { }catch (e) {
this.logger.error(e.request) this.logger.error(e.request)
if (e.response?.data?.Error?.Message){ if (e.response?.data?.Error?.Message){
@ -350,3 +353,5 @@ export class KsyunClient {
} }
} }