Skip to content

Commit

Permalink
hack in some debug
Browse files Browse the repository at this point in the history
  • Loading branch information
julz committed Aug 16, 2021
1 parent 5b069f2 commit 5f3a248
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (ac *reconciler) decodeRequestAndPrepareContext(
newDecoder.DisallowUnknownFields()
}
if err := newDecoder.Decode(&newObj); err != nil {
return ctx, nil, fmt.Errorf("cannot decode incoming new object: %w", err)
return ctx, nil, fmt.Errorf("cannot decode incoming new object: %w\noriginal:\n%#v", err, newObj)
}
}

Expand Down

0 comments on commit 5f3a248

Please sign in to comment.