1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: add debug to http put

refs ##790
This commit is contained in:
Carlos Alexandro Becker 2018-09-13 21:53:05 -03:00 committed by Carlos Alexandro Becker
parent 27ea6876b0
commit c3a6c3f40d

View File

@ -269,6 +269,7 @@ func executeHTTPRequest(ctx *context.Context, put *config.Put, req *h.Request, c
if err != nil {
return nil, err
}
log.Debugf("executing request: %s %s (headers: %v)", req.Method, req.URL, req.Header)
resp, err := client.Do(req)
if err != nil {
// If we got an error, and the context has been canceled,