-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch and handle Paramiko SSH errors (#48)
* Added a custom Exception class SSHConnectionError. * Wraps Remote class with try except raise condition. * Prints more explicit error message with possible workarounds instead of basic Exception error message which recommends to file a bug. Co-authored-by: Ganda Tchabana <ganda.tchabana@mila.quebec> Co-authored-by: Fabrice Normandin <normandf@mila.quebec>
- Loading branch information
1 parent
dee7fb7
commit 330d3a6
Showing
3 changed files
with
41 additions
and
6 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
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