print a debug message for invalid xml stanza
This commit is contained in:
parent
9dc8b315d8
commit
7f6ec376dc
|
@ -134,6 +134,7 @@ class Dispatcher(PlugIn):
|
||||||
return 0
|
return 0
|
||||||
except ExpatError:
|
except ExpatError:
|
||||||
sys.exc_clear()
|
sys.exc_clear()
|
||||||
|
self.DEBUG('Invalid XML received from server. Forcing disconnect.')
|
||||||
self._owner.Connection.pollend()
|
self._owner.Connection.pollend()
|
||||||
return 0
|
return 0
|
||||||
if len(self._pendingExceptions) > 0:
|
if len(self._pendingExceptions) > 0:
|
||||||
|
|
Loading…
Reference in New Issue