diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-05-07 00:40:57 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-05-07 00:40:57 (GMT) |
commit | 1803267ace5a7a7c6f28b9c4b941b09530dea207 (patch) | |
tree | 0b00fe00b483c15bb38f4c75646d3cdac5c69e69 | |
parent | 8b93bf13774108feaca0d63df9e8f90fbd105a93 (diff) |
print error from easy.Perfom to log
-rw-r--r-- | rhimport/fetcher.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go index fc75460..966402c 100644 --- a/rhimport/fetcher.go +++ b/rhimport/fetcher.go @@ -163,6 +163,7 @@ func fetchFileCurl(ctx *Context, res *Result, uri *url.URL) (err error) { err = cbdata.writeError } err = fmt.Errorf("curl-fetcher('%s'): %s", ctx.SourceUri, err) + rhl.Println(err) return } @@ -269,6 +270,7 @@ func fetchFileArchiv(ctx *Context, res *Result, uri *url.URL) (err error) { err = cbdata.writeError } err = fmt.Errorf("archiv-fetcher('%s'): %s", ctx.SourceUri, err) + rhl.Println(err) return } |