diff options
Diffstat (limited to 'fetcher.go')
-rw-r--r-- | fetcher.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -115,6 +115,7 @@ func FetchFileCurl(ctx *ImportContext, uri *url.URL) (err error) { easy.Setopt(curl.OPT_PROGRESSDATA, ctx) if err = easy.Perform(); err != nil { + err = fmt.Errorf("fetcher('%s'): %s", ctx.SourceUri, err) return } |