Stop on connection failed
This commit is contained in:
parent
f8f22619ac
commit
2afa2b39b3
@ -42,7 +42,7 @@ class SyncClientFactory(ClientFactory):
|
|||||||
|
|
||||||
def clientConnectionFailed(self, connector, reason):
|
def clientConnectionFailed(self, connector, reason):
|
||||||
if not self.reconnecting:
|
if not self.reconnecting:
|
||||||
self._client.ui.showErrorMessage(getMessage("en", "connection-failed-notification"))
|
self._client.stop(getMessage("en", "connection-failed-notification"))
|
||||||
else:
|
else:
|
||||||
self.clientConnectionLost(connector, reason)
|
self.clientConnectionLost(connector, reason)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user