Skip to content
Snippets Groups Projects
Commit 4a81c20c authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(gitfs): platform-failure for Failed to connect

parent d623cec5
Branches
Tags
No related merge requests found
...@@ -476,6 +476,7 @@ function checkForPlatformFailure(err: Error) { ...@@ -476,6 +476,7 @@ function checkForPlatformFailure(err: Error) {
'The remote end hung up unexpectedly', 'The remote end hung up unexpectedly',
'access denied or repository not exported', 'access denied or repository not exported',
'Could not write new index file', 'Could not write new index file',
'Failed to connect to',
]; ];
for (const errorStr of platformErrorStrings) { for (const errorStr of platformErrorStrings) {
if (err.message.includes(errorStr)) { if (err.message.includes(errorStr)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment