mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-29 06:49:05 +08:00
return error when proxy download fails
This commit is contained in:
@@ -98,7 +98,7 @@ func newChecksResp(db *badger.DB, repo string, forceRefresh bool) (checksResp, e
|
||||
|
||||
ver, err := download.ProxyDownload(repo)
|
||||
if err != nil {
|
||||
fmt.Println("ERROR:", err)
|
||||
return checksResp{}, fmt.Errorf("could not download repo: %v", err)
|
||||
}
|
||||
|
||||
// repo = repoRoot.Root
|
||||
|
||||
Reference in New Issue
Block a user