Loading bin/cc-node +4 −3 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ def run_node(options): # start node try: # create client logging.error('Initializing client') logging.debug('Initializing client') try: node = CCNode(options['address'], int(options['port']), options['detect_hypervisor'] == 'yes', Loading @@ -99,13 +99,14 @@ def run_node(options): repr(err), err) raise err # auth thread logging.info('Starting authentication thread') logging.debug('Starting authentication thread') auth_thread = threading.Thread(target=authentication, name='Auth', args=(node, suicide_event, options['login'], options['password'])) auth_thread.daemon = True auth_thread.start() # main loop logging.info('Starting main loop') logging.debug('Starting main loop') node.run() except Exception as err: logging.error('run_node: `%s` -> `%s`', repr(err), err) Loading Loading
bin/cc-node +4 −3 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ def run_node(options): # start node try: # create client logging.error('Initializing client') logging.debug('Initializing client') try: node = CCNode(options['address'], int(options['port']), options['detect_hypervisor'] == 'yes', Loading @@ -99,13 +99,14 @@ def run_node(options): repr(err), err) raise err # auth thread logging.info('Starting authentication thread') logging.debug('Starting authentication thread') auth_thread = threading.Thread(target=authentication, name='Auth', args=(node, suicide_event, options['login'], options['password'])) auth_thread.daemon = True auth_thread.start() # main loop logging.info('Starting main loop') logging.debug('Starting main loop') node.run() except Exception as err: logging.error('run_node: `%s` -> `%s`', repr(err), err) Loading