mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Don't shutdown completely after handling SyntaxError.
The ``shutdown = True`` line was preventing the stream from reconnecting after handling the error. Fixes issues #101, #145
This commit is contained in:
parent
e76d6a481f
commit
61ea84093b
1 changed files with 0 additions and 1 deletions
|
@ -1242,7 +1242,6 @@ class XMLStream(object):
|
|||
shutdown = True
|
||||
except SyntaxError as e:
|
||||
log.error("Error reading from XML stream.")
|
||||
shutdown = True
|
||||
self.exception(e)
|
||||
except Socket.error as serr:
|
||||
self.event('socket_error', serr, direct=True)
|
||||
|
|
Loading…
Reference in a new issue