From 7ba66b638b9037872553513d1ed166d2f9b313af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 13:35:32 +0200 Subject: [PATCH] print message --- client/netwrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/netwrapper.py b/client/netwrapper.py index cc29f66..5f2ac31 100644 --- a/client/netwrapper.py +++ b/client/netwrapper.py @@ -86,8 +86,8 @@ class NetWrapper: plaintext = retcipher.decrypt(retciphertext).decode('UTF-8') if plaintext != "OK": raise Exception('Authentication error') - except Exception: - print("Incorrect decryption") + except Exception as e: + print(e) def connectToServer(self): identStatus = self.identifyServer()