mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Catch RPCError in InitConnection
This commit is contained in:
parent
8e538199ea
commit
140a8b4e12
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ class Session:
|
|||
self.ping_thread.start()
|
||||
|
||||
log.info("Connection inited: Layer {}".format(layer))
|
||||
except (OSError, TimeoutError):
|
||||
except (OSError, TimeoutError, Error):
|
||||
self.stop()
|
||||
else:
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue