Skip to content

Commit

Permalink
Merge pull request #3 from life360/pk/fix-bastion-err-msg
Browse files Browse the repository at this point in the history
bugfix: fix logging statement which was lying
  • Loading branch information
Patrick K authored Jul 2, 2020
2 parents 5a2a263 + cb46742 commit 93bfeda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itsybitsy/itsybitsy_plugins/provider_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ async def _configure(address: str):
asyncssh.connect(jump_server_address, **ssh_connect_args), timeout=5
)
except asyncio.TimeoutError:
print(colored(f"Timeout connecting to SSH bastion server: {address}. Try turning it off and on again.", 'red'))
print(colored(f"Timeout connecting to SSH bastion server: {jump_server_address}. "
f"Try turning it off and on again.", 'red'))
sys.exit(1)
except asyncssh.PermissionDenied:
print(colored(f"SSH Permission denied attempting to connect to {address}. It is possible that your SSH Key "
Expand Down

0 comments on commit 93bfeda

Please sign in to comment.