forked from Firepup650/python-talk
Add a valid disconnect error
This commit is contained in:
parent
0994f92669
commit
284c3932dd
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Globals: ...
|
|||
|
||||
|
||||
TimeoutErrors = (TimeoutError, asyncio.exceptions.TimeoutError)
|
||||
DisconnectErrors = (ConnectionResetError, BrokenPipeError, IndexError, *TimeoutErrors)
|
||||
DisconnectErrors = (ConnectionResetError, BrokenPipeError, IndexError, UnicodeDecodeError, *TimeoutErrors)
|
||||
G = Globals()
|
||||
G.uniqueClients = 0
|
||||
G.servers = {}
|
||||
|
|
Loading…
Reference in a new issue