Skip to content

Commit 2156ca5

Browse files
Update pkg/app/server.go
Co-authored-by: Pranshu Srivastava <[email protected]>
1 parent 9ceb49f commit 2156ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func RunKubeStateMetrics(ctx context.Context, opts *options.Options) error {
184184

185185
if opts.CustomResourceConfigFile != "" {
186186
if _, err := os.Stat(filepath.Clean(opts.CustomResourceConfigFile)); err != nil {
187-
klog.ErrorS(err, "config file does not exist, ignoring", "file", opts.CustomResourceConfigFile)
187+
klog.ErrorS(err, "encountered error while processing the file", "file", opts.CustomResourceConfigFile)
188188
} else {
189189
crcFile, err := os.ReadFile(filepath.Clean(opts.CustomResourceConfigFile))
190190
if err != nil {

0 commit comments

Comments
 (0)