Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
4a81c20c
Commit
4a81c20c
authored
5 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
fix(gitfs): platform-failure for Failed to connect
parent
d623cec5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/platform/git/storage.ts
+1
-0
1 addition, 0 deletions
lib/platform/git/storage.ts
with
1 addition
and
0 deletions
lib/platform/git/storage.ts
+
1
−
0
View file @
4a81c20c
...
@@ -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
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment