[plugins] Move missing plugin-dir warning to debug level

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-23 17:38:46 +02:00
parent 77aa2e411c
commit f0b9713af7
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -20,7 +20,7 @@ func loadPlugins(pluginDir string) error {
d, err := os.Stat(pluginDir) d, err := os.Stat(pluginDir)
if err != nil { if err != nil {
if os.IsNotExist(err) { if os.IsNotExist(err) {
logger.Warn("Plugin directory not found, skipping") logger.Debug("Plugin directory not found, skipping")
return nil return nil
} }
return errors.Wrap(err, "getting plugin-dir info") return errors.Wrap(err, "getting plugin-dir info")