Skip to content
Snippets Groups Projects
Commit d316c6d8 authored by dkirov's avatar dkirov
Browse files

reconnect (if configured), instead of

disconnect on expat error
parent 7afb5842
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ class Dispatcher(PlugIn):
self.Stream.Parse(data)
except ExpatError:
sys.exc_clear()
self._owner.Connection.disconnect()
self._owner.Connection.pollend()
return 0
if len(self._pendingExceptions) > 0:
_pendingException = self._pendingExceptions.pop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment