heroku / heroku-buildpack-go

Heroku's classic buildpack for Go applications.
https://devcenter.heroku.com/categories/go-support
MIT License
794 stars 513 forks source link

Report errors when curl fails #533

Closed joshwlewis closed 11 months ago

joshwlewis commented 11 months ago

Currently, failures to download the Go distribution from S3 look like this:

    remote: -----> Installing go1.20.8        
    remote: -----> Fetching go1.20.8.linux-amd64.tar.gz...  !     Push rejected, failed to compile Go app.        
    remote: 
    remote:  !     Push failed    

We're using the -s (--silent) flag, so there's no further detail about why the download failed. Adding --show-error to curl will give customers and support agents more context on the reason for the failure.