aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifiers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/notifiers')
-rw-r--r--lib/mauve/notifiers/xmpp.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb
index 9cc5ab5..77d6236 100644
--- a/lib/mauve/notifiers/xmpp.rb
+++ b/lib/mauve/notifiers/xmpp.rb
@@ -149,6 +149,10 @@ module Mauve
end
end
end
+ rescue StandardError => ex
+ logger.error "Connect failed #{ex.to_s}"
+ logger.debug ex.backtrace.join("\n")
+ @client = nil
end
#