Skip to content

Commit

Permalink
output err msg
Browse files Browse the repository at this point in the history
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
  • Loading branch information
cleverhu authored and tekton-robot committed Mar 20, 2023
1 parent 6c2d01c commit d3f10fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/termination/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ParseMessage(logger *zap.SugaredLogger, msg string) ([]v1beta1.PipelineReso

var r []v1beta1.PipelineResourceResult
if err := json.Unmarshal([]byte(msg), &r); err != nil {
return nil, fmt.Errorf("parsing message json: %v", err)
return nil, fmt.Errorf("parsing message json: %v, msg: %s", err, msg)
}

for i, rr := range r {
Expand Down

0 comments on commit d3f10fd

Please sign in to comment.