mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04: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()
|
self.ping_thread.start()
|
||||||
|
|
||||||
log.info("Connection inited: Layer {}".format(layer))
|
log.info("Connection inited: Layer {}".format(layer))
|
||||||
except (OSError, TimeoutError):
|
except (OSError, TimeoutError, Error):
|
||||||
self.stop()
|
self.stop()
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue