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()
|
root.clear()
|
||||||
except SyntaxError:
|
except SyntaxError:
|
||||||
log.error("Error reading from XML stream.")
|
log.error("Error reading from XML stream.")
|
||||||
|
self.disconnect(self.auto_reconnect)
|
||||||
log.debug("Ending read XML loop")
|
log.debug("Ending read XML loop")
|
||||||
|
|
||||||
def _build_stanza(self, xml, default_ns=None):
|
def _build_stanza(self, xml, default_ns=None):
|
||||||
|
|
Loading…
Reference in a new issue