Fail gracefully if blade ssh is unavailable. #8

Open
opened 2020-12-23 18:50:00 +00:00 by rasmus · 0 comments
Owner

Atm, if connect server n fails, you get dropped back to enc shell. The program fails getting power info. Problem there is that it will attempt to exit out of the blade's ssh, but actually exits the enc's.

I had comments in code on how to solve this. Probably by looking at the current shell prompt.

See also: #7

Atm, if `connect server n` fails, you get dropped back to enc shell. The program fails getting power info. Problem there is that it will attempt to exit out of the blade's ssh, but actually exits the enc's. I had comments in code on how to solve this. Probably by looking at the current shell prompt. See also: #7
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: rasmus/blades-ssh-scraper#8
No description provided.