Commit 5792a162 by bergquist

fix(plugins): removes warnings for missing folder

Remove warnings when scanning for plugins in the default
catalog data/plugins

closes #3663
parent 9343b037
...@@ -55,7 +55,9 @@ func scan(pluginDir string) error { ...@@ -55,7 +55,9 @@ func scan(pluginDir string) error {
} }
if err := util.Walk(pluginDir, true, true, scanner.walker); err != nil { if err := util.Walk(pluginDir, true, true, scanner.walker); err != nil {
log.Warn("Failed to scan dir \"%v\" error: %s", pluginDir, err) if pluginDir != "data/plugins" {
log.Warn("Could not scan dir \"%v\" error: %s", pluginDir, err)
}
return err return err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment