diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-13 17:05:28 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-13 17:05:28 +0100 |
commit | ae55e11c1f0f5b1e9378b06cccc78f0e7bae5b97 (patch) | |
tree | 5e109cd77d8a351f97774f6d7f3938f3f48708b6 /module/plugins/hooks/UpdateManager.py | |
parent | fix Depositfiles, UlozTo (diff) | |
download | pyload-ae55e11c1f0f5b1e9378b06cccc78f0e7bae5b97.tar.xz |
rehost,to timeout fix
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 705ed8eca..2a85e505f 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -121,13 +121,13 @@ class UpdateManager(Hook): try: content = getURL("http://get.pyload.org/plugins/get/" + path) - except: - self.logWarning(_("Error when updating %s") % name) + except Exception, e: + self.logWarning(_("Error when updating %s") % name, str(e)) continue m = vre.search(content) if not m or m.group(2) != version: - self.logWarning(_("Error when updating %s") % name) + self.logWarning(_("Error when updating %s") % name, _("Version mismatch")) continue f = open(join("userplugins", prefix, name), "wb") |