-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybridge: Improve beiboot error reporting for fatal login failures
After all SSH authentication attemps fail, e.g. entering the wrong password three times, ferny throws an InteractionError. Merely exiting cockpit-beiboot gets interpreted as "Internal error" which is unfriendly. Ferny recognizes the most common errors, like DNS resolution and and authentication failure. Use that API to convert them to proper cockpit protocol error codes, so that they get presented and translated properly.
- Loading branch information
1 parent
18974e6
commit 22f38b3
Showing
2 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters