Skip to content

Commit

Permalink
chore: add error log
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzzzzzzz committed Apr 11, 2024
1 parent 599f2e6 commit 42a6d94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/pod/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ func setTaskRunStatusBasedOnStepStatus(ctx context.Context, logger *zap.SugaredL
for _, r := range results {
if r.ResultType == result.ArtifactsResultType {
if err := json.Unmarshal([]byte(r.Value), &as); err != nil {
logger.Errorf("result value could not be parsed as Artifacts: %v", err)
merr = multierror.Append(merr, err)
}
// there should be only one ArtifactsResult
Expand Down

0 comments on commit 42a6d94

Please sign in to comment.