diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-12-13 23:16:59 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-12-13 23:16:59 (GMT) |
commit | a39efd1c76e53cf7c09b899a9724c66fbcb01f00 (patch) | |
tree | a4cd4247fc542bcd07cb4ad85aa0dff7bb1e9b91 /src/helsinki.at/rhimport/fetcher.go | |
parent | fc10a16a428ddfaaa4cd8d7455537590ecd49e7b (diff) |
fetching show info works now
Diffstat (limited to 'src/helsinki.at/rhimport/fetcher.go')
-rw-r--r-- | src/helsinki.at/rhimport/fetcher.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helsinki.at/rhimport/fetcher.go b/src/helsinki.at/rhimport/fetcher.go index 7d406b2..ae7c910 100644 --- a/src/helsinki.at/rhimport/fetcher.go +++ b/src/helsinki.at/rhimport/fetcher.go @@ -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 } |