diff --git a/syncplay/protocols.py b/syncplay/protocols.py index 53cdaf34e..aa7da2a0e 100755 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -105,6 +105,15 @@ def connectionLost(self, reason): self.dropWithError(getMessage("startTLS-server-certificate-invalid")) elif "mismatched_id=DNS_ID" in str(reason.value): self.dropWithError(getMessage("startTLS-server-certificate-invalid-DNS-ID")) + elif reason: + try: + self._client.ui.showErrorMessage(str(type(reason))) + self._client.ui.showErrorMessage(str(reason)) + if reason.stack: + self._client.ui.showErrorMessage(str(reason.stack)) + self._client.ui.showErrorMessage(str(reason.value)) + except: + pass except: pass self._client.destroyProtocol()