Skip to content

Commit

Permalink
Updated log message on retry after node authentication failed
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvanb committed Jan 16, 2023
1 parent d651bab commit 9f274d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vantage6-node/vantage6/node/__init__.py
Expand Up @@ -460,7 +460,8 @@ def authenticate(self) -> None:
self.__print_connection_error_logs()
time.sleep(SLEEP_BTWN_NODE_LOGIN_TRIES)
except Exception as e:
msg = 'Authentication failed. Retrying in 10 seconds!'
msg = ('Authentication failed. Retrying in '
f'{SLEEP_BTWN_NODE_LOGIN_TRIES} seconds!')
self.log.warning(msg)
self.log.debug(e)
time.sleep(SLEEP_BTWN_NODE_LOGIN_TRIES)
Expand Down

0 comments on commit 9f274d7

Please sign in to comment.