Skip to content

Commit

Permalink
Merge pull request #2290 from vincepri/errors-more-info
Browse files Browse the repository at this point in the history
馃尡 Kind source should expose type information on timeout
  • Loading branch information
k8s-ci-robot committed Apr 27, 2023
2 parents dca0be7 + 8a742fb commit 0ef0753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/source/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ func (ks *Kind) WaitForSync(ctx context.Context) error {
if errors.Is(ctx.Err(), context.Canceled) {
return nil
}
return errors.New("timed out waiting for cache to be synced")
return fmt.Errorf("timed out waiting for cache to be synced for Kind %T", ks.Type)
}
}

0 comments on commit 0ef0753

Please sign in to comment.