summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-12-13 23:16:59 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-12-13 23:16:59 (GMT)
commita39efd1c76e53cf7c09b899a9724c66fbcb01f00 (patch)
treea4cd4247fc542bcd07cb4ad85aa0dff7bb1e9b91 /src/helsinki.at/rhimport/fetcher.go
parentfc10a16a428ddfaaa4cd8d7455537590ecd49e7b (diff)
fetching show info works now
Diffstat (limited to 'src/helsinki.at/rhimport/fetcher.go')
-rw-r--r--src/helsinki.at/rhimport/fetcher.go1
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
}