Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit 7272605

Browse files
authored
Merge pull request #970 from laverya/improve-no-files-found-github-error-message
include repo, path, ref in 'no files found' github asset error
2 parents a93009f + 629e34f commit 7272605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lifecycle/render/github/render.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (r *LocalRenderer) Execute(
104104
return errors.Wrap(err, "resolveNoProxyGithubAssets")
105105
}
106106
} else {
107-
return errors.New("github asset returned no files")
107+
return fmt.Errorf("github asset %s returned no files in %s at %s", asset.Repo, asset.Path, asset.Ref)
108108
}
109109
}
110110

0 commit comments

Comments
 (0)