diff options
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r-- | module/plugins/PluginManager.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index 333f9e247..94c20cd5a 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -182,7 +182,10 @@ class PluginManager(): if folder == "hooks": config.append(["load", "bool", "Load on startup", True if name not in NO_AUTOLOAD else False]) - self.core.config.addPluginConfig(name, config, desc) + try: + self.core.config.addPluginConfig(name, config, desc) + except : + self.log.error("Invalid config in %s: %s" % (name, config)) if not home: temp = self.parse(typ, folder, create, pattern, plugins) |