mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 16:20:02 +00:00
[plugins] Move missing plugin-dir warning to debug level
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
77aa2e411c
commit
f0b9713af7
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ func loadPlugins(pluginDir string) error {
|
||||||
d, err := os.Stat(pluginDir)
|
d, err := os.Stat(pluginDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
logger.Warn("Plugin directory not found, skipping")
|
logger.Debug("Plugin directory not found, skipping")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return errors.Wrap(err, "getting plugin-dir info")
|
return errors.Wrap(err, "getting plugin-dir info")
|
||||||
|
|
Loading…
Reference in a new issue