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