Skip to content

Commit

Permalink
Merge pull request #7351 from ywk253100/240124_log
Browse files Browse the repository at this point in the history
Log the error details
  • Loading branch information
ywk253100 authored Jan 24, 2024
2 parents 94c7d4b + 25d977e commit 76670e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/restore/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ func (ctx *restoreContext) execute() (results.Result, results.Result) {
gvr := schema.ParseGroupResource(informerResource.resource).WithVersion(version)
_, _, err := ctx.discoveryHelper.ResourceFor(gvr)
if err != nil {
ctx.log.Infof("failed to create informer for %s", gvr)
ctx.log.Infof("failed to create informer for %s: %v", gvr, err)
continue
}
ctx.dynamicInformerFactory.factory.ForResource(gvr)
Expand Down

0 comments on commit 76670e9

Please sign in to comment.