From 98a48b21ebd0add5b983bb67a1c2ef48ebd40784 Mon Sep 17 00:00:00 2001 From: Hadrien Theveneau Date: Thu, 8 Oct 2015 23:04:48 +0200 Subject: Addition of some debug messages about captchas and plugins in DlProtectCom.py and PluginManager.py --- module/plugins/PluginManager.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/plugins/PluginManager.py') diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index f3f5f47bc..6c1d22359 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -272,6 +272,9 @@ class PluginManager: self.log.error(_("Error importing %(name)s: %(msg)s") % {"name": name, "msg": str(e)}) if self.core.debug: print_exc() + else: + self.log.debug("Plugin %s not found" % name) + self.log.debug("Available plugins : %s" % str(plugins)) def loadClass(self, type, name): """Returns the class of a plugin with the same name""" -- cgit v1.2.3