diff options
author | Christian Kujau <ckujau@users.noreply.github.com> | 2023-07-22 23:17:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 21:17:32 +0000 |
commit | 6b6b2c6194509d21abd80ada4f4d8c0a2288a146 (patch) | |
tree | f153f880bb9a04b3ee87c55dc1477617ffe00f94 | |
parent | d70eb569f2db11ea39b2b18c4ebe448b6d37eaa0 (diff) | |
download | syncthing-6b6b2c6194509d21abd80ada4f4d8c0a2288a146.tar.gz syncthing-6b6b2c6194509d21abd80ada4f4d8c0a2288a146.zip |
lib/model: use WARN for "Unexpected folder" messages (#8998)
-rw-r--r-- | lib/model/model.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |