From c38945c00e471059c8cfe9dade577df1f4e58e35 Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Sat, 27 Jul 2013 19:10:15 +0100 Subject: [PATCH] * jabber-keepalive.el (jabber-whitespace-ping-do): Ignore errors. Sometimes this fails because the connection is closed. Not sure exactly why this happens, but the sentinel function should discover the lost connection anyway, and having an error signalled in a timer function doesn't help anyone. --- jabber-keepalive.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jabber-keepalive.el b/jabber-keepalive.el index 2ce41d6..33297a6 100644 --- a/jabber-keepalive.el +++ b/jabber-keepalive.el @@ -169,7 +169,7 @@ accounts." (defun jabber-whitespace-ping-do () (dolist (c jabber-connections) - (jabber-send-string c " "))) + (ignore-errors (jabber-send-string c " ")))) (provide 'jabber-keepalive)