From 6b6b2c6194509d21abd80ada4f4d8c0a2288a146 Mon Sep 17 00:00:00 2001 From: Christian Kujau Date: Sat, 22 Jul 2023 23:17:32 +0200 Subject: [PATCH] lib/model: use WARN for "Unexpected folder" messages (#8998) --- lib/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/model.go b/lib/model/model.go index 70012fb3c..5830b4267 100644 --- a/lib/model/model.go +++ b/lib/model/model.go @@ -1129,7 +1129,7 @@ func (m *model) handleIndex(deviceID protocol.DeviceID, folder string, fs []prot l.Debugf("%v (in): %s / %q: %d files", op, deviceID, folder, len(fs)) if cfg, ok := m.cfg.Folder(folder); !ok || !cfg.SharedWith(deviceID) { - l.Infof("%v for unexpected folder ID %q sent from device %q; ensure that the folder exists and that this device is selected under \"Share With\" in the folder configuration.", op, folder, deviceID) + l.Warnf("%v for unexpected folder ID %q sent from device %q; ensure that the folder exists and that this device is selected under \"Share With\" in the folder configuration.", op, folder, deviceID) return fmt.Errorf("%s: %w", folder, ErrFolderMissing) } else if cfg.Paused { l.Debugf("%v for paused folder (ID %q) sent from device %q.", op, folder, deviceID)