diff --git a/components/common-go/watch/file.go b/components/common-go/watch/file.go index a86ec7bba1dbb8..564a63e3e9eaa0 100644 --- a/components/common-go/watch/file.go +++ b/components/common-go/watch/file.go @@ -85,8 +85,8 @@ func File(ctx context.Context, path string, onChange func()) error { currentHash, err := hashConfig(path) if err != nil { - log.WithError(err).Warn("Cannot check if config has changed") - return + log.WithError(err).WithField("event", event.Name).Warn("Cannot check if config has changed") + continue } // no change