From 0ea4969393c72ebfb904f825e3f0d003b80a427c Mon Sep 17 00:00:00 2001 From: Alexander Hirsch Date: Mon, 3 Jun 2019 17:23:26 -0700 Subject: [PATCH] Print the traceback of TCP client Exception The function now prints the system execution information upon an exception. The last commit requested traceback information, but did not print the information to the console. --- pyModeS/extra/tcpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyModeS/extra/tcpclient.py b/pyModeS/extra/tcpclient.py index adc428f..8969f9c 100644 --- a/pyModeS/extra/tcpclient.py +++ b/pyModeS/extra/tcpclient.py @@ -275,7 +275,7 @@ class BaseClient(Thread): # for debugging purposes debug_intent = os.environ.get('PYMODES_DEBUG', None) if debug_intent.lower() == 'true': - sys.exc_info() + print(sys.exc_info()) sys.exit() else: print("Unexpected Error:", e)