Catch RPCError in InitConnection

This commit is contained in:
Dan 2018-02-21 13:35:17 +01:00
parent 8e538199ea
commit 140a8b4e12

View File

@ -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