From baf4c2072595a3512a8ed03513c6d8bb70fff98f Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Wed, 7 Aug 2019 10:18:00 +0800 Subject: [PATCH] additional logging to see what is going on --- TWS/twsproxy/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TWS/twsproxy/__init__.py b/TWS/twsproxy/__init__.py index 0cc1457..da43556 100644 --- a/TWS/twsproxy/__init__.py +++ b/TWS/twsproxy/__init__.py @@ -50,6 +50,8 @@ class TWSProxy(threading.Thread): else: logger.debug('inittws, select returned with no more info, verifying headers for the last time') port = self.verifyauth(header[0:bytessofar]) + logger.debug(header[0:bytessofar]) + keepreading = False if initcount > failthresh: logger.debug('inittws, checked headers enough times, got {} bytes with no success'.format(bytessofar)) -- GitLab