This commit is contained in:
xiaojunnuo
2025-08-16 12:23:03 +08:00
parent 9b63fb4ee2
commit a20a429e8c
@@ -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 {
} }
} }