summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XMPPInterface.py
diff options
context:
space:
mode:
authorGravatar Jochen Oberreiter <joberreiter@users.noreply.github.com> 2015-09-26 18:24:29 +0200
committerGravatar Jochen Oberreiter <joberreiter@users.noreply.github.com> 2015-09-26 18:24:29 +0200
commit93a0c1d930520c055eae766b5dad305111a02c4d (patch)
tree8ac3f9e6dcf682775f5b170f2a9ca40eb7c0f8fc /module/plugins/hooks/XMPPInterface.py
parentSpare plugin updates (diff)
parentMerge pull request #1850 from chaosblog/patch-2 (diff)
downloadpyload-93a0c1d930520c055eae766b5dad305111a02c4d.tar.xz
Merge pull request #1 from pyload/stable
Merge actual version
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r--module/plugins/hooks/XMPPInterface.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py
index 50dd40774..77e20cdd4 100644
--- a/module/plugins/hooks/XMPPInterface.py
+++ b/module/plugins/hooks/XMPPInterface.py
@@ -70,6 +70,7 @@ class XMPPInterface(IRCInterface, JabberClient):
try:
if self.get_config('info_pack'):
self.announce(_("Package finished: %s") % pypack.name)
+
except Exception:
pass
@@ -79,6 +80,7 @@ class XMPPInterface(IRCInterface, JabberClient):
if self.get_config('info_file'):
self.announce(
_("Download finished: %(name)s @ %(plugin)s") % {'name': pyfile.name, 'plugin': pyfile.pluginname})
+
except Exception:
pass
@@ -88,6 +90,7 @@ class XMPPInterface(IRCInterface, JabberClient):
self.connect()
try:
self.loop()
+
except Exception, ex:
self.log_error(ex)
@@ -159,6 +162,7 @@ class XMPPInterface(IRCInterface, JabberClient):
trigger = temp[0]
if len(temp) > 1:
args = temp[1:]
+
except Exception:
pass
@@ -174,6 +178,7 @@ class XMPPInterface(IRCInterface, JabberClient):
body=line)
messages.append(m)
+
except Exception, e:
self.log_error(e)