mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 22:32:24 +08: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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user