Merge branch 'pro' into pre
This commit is contained in:
commit
ae34f4153a
|
|
@ -83,7 +83,7 @@ func Request(_ context.Context, method, url string, body []byte, o *Options) (ht
|
|||
|
||||
resp, err := httpClient.Do(req)
|
||||
if err != nil {
|
||||
return nil, nil, fmt.Errorf("发送HTTP请求失败: %w", err)
|
||||
return nil, nil, fmt.Errorf("发送请求失败,timeout:%v,err:%w", o.Timeout, err)
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue