feat(plugins): adds warn log for scanning folders

symlinks outside to plugin folder can cause problems.
This commit makes sure to warn about it in the logs
This commit is contained in:
bergquist 2016-01-06 11:57:17 +01:00
parent 5de69b288f
commit 9343b0378d

View File

@ -55,6 +55,7 @@ func scan(pluginDir string) error {
}
if err := util.Walk(pluginDir, true, true, scanner.walker); err != nil {
log.Warn("Failed to scan dir \"%v\" error: %s", pluginDir, err)
return err
}