diff --git a/lib/apis/git.dart b/lib/apis/git.dart index ea05bbfa..7c7ef0d3 100644 --- a/lib/apis/git.dart +++ b/lib/apis/git.dart @@ -17,12 +17,18 @@ bool shouldIgnorePlatformException(PlatformException ex) { if (msg.contains("failed to connect to")) { return true; } - if (msg.contains("No address associated with hostname")) { + if (msg.contains("no address associated with hostname")) { return true; } if (msg.contains("failed to connect to")) { return true; } + if (msg.contains("unauthorized")) { + return true; + } + if (msg.contains("failed to start ssh session")) { + return true; + } return false; }