From 8d32fed2fe456c64a4a31ec6c900543e71b11e72 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 26 Nov 2018 14:42:41 +0000 Subject: [PATCH] ModuleWarnings in src/ModuleManger.py should be logged as `warn`, not `error` --- src/ModuleManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleManager.py b/src/ModuleManager.py index 9dfc85df..9198c890 100644 --- a/src/ModuleManager.py +++ b/src/ModuleManager.py @@ -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",