We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a4ffa commit 4aceed3Copy full SHA for 4aceed3
src/gitManager/simpleGit.ts
@@ -905,11 +905,15 @@ export class SimpleGit extends GitManager {
905
if (error) {
906
const networkFailure =
907
error.message.contains("Could not resolve host") ||
908
+ error.message.contains("Unable to resolve host") ||
909
error.message.match(
910
/ssh: connect to host .*? port .*?: Operation timed out/
911
) ||
912
913
/ssh: connect to host .*? port .*?: Network is unreachable/
914
+ ) ||
915
+ error.message.match(
916
+ /ssh: connect to host .*? port .*?: Undefined error: 0/
917
);
918
if (!networkFailure) {
919
this.plugin.displayError(error.message);
0 commit comments