Skip to content

Commit

Permalink
Merge pull request kubernetes#20167 from alvaroaleman/log-artifact-fe…
Browse files Browse the repository at this point in the history
…tching-errors

Spyglass: Log an error when artifact fetching fails
  • Loading branch information
k8s-ci-robot authored Dec 8, 2020
2 parents bdbf48d + b1e18a7 commit 9c71353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prow/spyglass/lenses/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func FetchArtifacts(
if buildLogRegex.MatchString(name) {
logsNeeded = append(logsNeeded, name)
}
logrus.WithError(err).WithField("artifact", name).Error("Failed to fetch artifact")
continue
}
arts = append(arts, art)
Expand Down

0 comments on commit 9c71353

Please sign in to comment.