extra logging
This commit is contained in:
parent
6f0ed6184b
commit
84ce8c3487
|
@ -56,7 +56,7 @@ func (a *Agent) internalPluginConfigs() (map[loader.PluginID]*loader.InternalPlu
|
|||
|
||||
for id, reg := range catalog {
|
||||
if reg.Config == nil {
|
||||
a.logger.Warn("skipping loading internal plugin because it is missing its configuration", "plugin", id)
|
||||
a.logger.Error("skipping loading internal plugin because it is missing its configuration", "plugin", id)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
@ -156,6 +156,7 @@ func (l *PluginLoader) scan() ([]os.FileInfo, error) {
|
|||
if err != nil {
|
||||
// There are no plugins to scan
|
||||
if os.IsNotExist(err) {
|
||||
l.logger.Debug("skipping external plugins since plugin_dir doesn't exist")
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue