print a debug message for invalid xml stanza

This commit is contained in:
Dimitur Kirov 2006-09-04 07:19:31 +00:00
parent 9dc8b315d8
commit 7f6ec376dc
1 changed files with 1 additions and 0 deletions

View File

@ -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: