From 7f6ec376dcc6ada329ffeecdcaab68160cb49d66 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Mon, 4 Sep 2006 07:19:31 +0000 Subject: [PATCH] print a debug message for invalid xml stanza --- src/common/xmpp/dispatcher_nb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/xmpp/dispatcher_nb.py b/src/common/xmpp/dispatcher_nb.py index dbdaf4d63..ca13af184 100644 --- a/src/common/xmpp/dispatcher_nb.py +++ b/src/common/xmpp/dispatcher_nb.py @@ -134,6 +134,7 @@ class Dispatcher(PlugIn): return 0 except ExpatError: sys.exc_clear() + self.DEBUG('Invalid XML received from server. Forcing disconnect.') self._owner.Connection.pollend() return 0 if len(self._pendingExceptions) > 0: