summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-08 23:04:48 +0200
committerGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-28 02:52:20 +0100
commit98a48b21ebd0add5b983bb67a1c2ef48ebd40784 (patch)
tree8f0e6527f34d48a8b5e0bd807551b9920814a7a0 /module
parentAddition of some debug messages in DlProtectCom.py and Captcha.py (diff)
downloadpyload-98a48b21ebd0add5b983bb67a1c2ef48ebd40784.tar.xz
Addition of some debug messages about captchas and plugins in DlProtectCom.py and PluginManager.py
Diffstat (limited to 'module')
-rw-r--r--module/plugins/PluginManager.py3
1 files changed, 3 insertions, 0 deletions
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"""