diff --git a/syncplay/protocols.py b/syncplay/protocols.py index fa546f9..b9e1db4 100755 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -96,6 +96,11 @@ class SyncClientProtocol(JSONCommandProtocol): self.sendHello() def connectionLost(self, reason): + try: + self._client.ui.showDebugMessage(str(reason.stack)) + self._client.ui.showDebugMessage(str(reason.value)) + except: + pass try: if "Invalid DNS-ID" in str(reason.value): self._client._serverSupportsTLS = False