mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-24 11:50:53 +00:00
SyntaxError requires a restart
This commit is contained in:
parent
1765271f84
commit
cf7fcf496e
1 changed files with 1 additions and 0 deletions
|
@ -1148,6 +1148,7 @@ class XMLStream(object):
|
|||
root.clear()
|
||||
except SyntaxError:
|
||||
log.error("Error reading from XML stream.")
|
||||
self.disconnect(self.auto_reconnect)
|
||||
log.debug("Ending read XML loop")
|
||||
|
||||
def _build_stanza(self, xml, default_ns=None):
|
||||
|
|
Loading…
Reference in a new issue