mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
fix: dropped http errors (#351)
This commit is contained in:
1 parent
c0841d7be5
commit
b252b415fa
1 file changed
+3
@@ -209,6 +209,9 @@ func (client *HttpClient) SendRequest(request *HttpRequest) (*http.Response, err
|
||||
} else {
|
||||
err = client.setFormData(req, request.FormData, nil)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
client.Request = req
|
||||
|
||||
Reference in new issue
Block a user