ModuleWarnings in src/ModuleManger.py should be logged as warn
, not error
This commit is contained in:
parent
1b03d31c6b
commit
8d32fed2fe
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class ModuleManager(object):
|
|||
try:
|
||||
module = self._load_module(bot, name)
|
||||
except ModuleWarning as warning:
|
||||
self.log.error("Module '%s' not loaded", [name])
|
||||
self.log.warn("Module '%s' not loaded", [name])
|
||||
raise
|
||||
except Exception as e:
|
||||
self.log.error("Failed to load module \"%s\": %s",
|
||||
|
|
Loading…
Reference in a new issue