From 7a8760e2ef30a3d9b02785625541c704b6b9cae4 Mon Sep 17 00:00:00 2001 From: Atanas Janeshliev Date: Wed, 17 Apr 2024 12:59:36 +0000 Subject: [PATCH] fix(BRIDGE-19): warning instead of error on logs for checksum validation... --- internal/updater/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/updater/sync.go b/internal/updater/sync.go index 8ca613ae..b36af4d9 100644 --- a/internal/updater/sync.go +++ b/internal/updater/sync.go @@ -146,7 +146,7 @@ func mkdirAllClear(path string) error { func checksum(path string) (hash string) { file, err := os.Open(filepath.Clean(path)) if err != nil { - logrus.WithError(err).WithField("path", path).Error("Cannot open file for checksum") + logrus.WithError(err).WithField("path", path).Warn("Cannot open file for checksum") return } defer file.Close() //nolint:errcheck,gosec