mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
5de69b288f
commit
9343b0378d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user