mirror of
https://github.com/solero/houdini.git
synced 2024-11-28 08:27:18 +00:00
Catch LimitOverrunError exception in main client loop
This commit is contained in:
parent
edafefd8e7
commit
d9fd35249b
@ -1,4 +1,4 @@
|
||||
from asyncio import CancelledError, IncompleteReadError
|
||||
from asyncio import CancelledError, IncompleteReadError, LimitOverrunError
|
||||
from xml.etree.cElementTree import Element, SubElement, tostring
|
||||
|
||||
import defusedxml.cElementTree as Et
|
||||
@ -178,6 +178,8 @@ class Spheniscidae:
|
||||
self.__writer.close()
|
||||
except ConnectionResetError:
|
||||
self.__writer.close()
|
||||
except LimitOverrunError:
|
||||
self.__writer.close()
|
||||
except BaseException as e:
|
||||
self.logger.exception(e.__traceback__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user