chang code
This commit is contained in:
parent
8daa814b8d
commit
9f2e438ab6
|
|
@ -53,7 +53,8 @@ func (this *KxMixRepoImpl) Request(ctx context.Context, req *kog.Notice) error {
|
|||
start := time.Now()
|
||||
_, bodyBytes, err := request.POST(ctx, url, body, this.options)
|
||||
if err != nil {
|
||||
log.Errorf("请求kx发生错误,耗时:%s,url:%s,reqBody:%s,respBody:%s,err:%v", time.Now().Sub(start).String(), url, string(body), string(bodyBytes), err)
|
||||
log.Errorf("请求kx发生错误,耗时:%s,url:%s,reqBody:%s,respBody:%s,err:%v",
|
||||
time.Now().Sub(start).String(), url, string(body), string(bodyBytes), err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue