1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00
Andy Grunwald 37bc09f2bc fix: Use HTTP error if upload to Artifactory failes
In a former commit we respected the error of the Close()
call for a HTTP response. The fix was to introduce named
return values (e.g. err for error).
The problem: We defered the resp.Close() via
err = resp.Close()
This had the effect of always overwrite the real error
that happen when the HTTP call failes (due to checkResponse func).
2017-12-02 21:29:59 +01:00
..
2017-11-26 20:40:07 -02:00
2017-11-26 20:40:07 -02:00
2017-11-26 22:20:40 -02:00
2017-11-26 20:40:07 -02:00
2017-11-26 20:40:07 -02:00
2017-11-26 20:40:07 -02:00
2017-11-26 20:40:07 -02:00
2017-09-12 00:22:02 -03:00