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
90faa3a0
Commit
90faa3a0
authored
5 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
chore: platformErrorStrings -> platformFailureStrings
parent
3c5bbfc4
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
+2
-2
2 additions, 2 deletions
lib/platform/git/storage.ts
with
2 additions
and
2 deletions
lib/platform/git/storage.ts
+
2
−
2
View file @
90faa3a0
...
...
@@ -469,7 +469,7 @@ function checkForPlatformFailure(err: Error) {
if
(
process
.
env
.
CI
)
{
return
;
}
const
platform
Error
Strings
=
[
const
platform
Failure
Strings
=
[
'
remote: Invalid username or password
'
,
'
gnutls_handshake() failed
'
,
'
The requested URL returned error: 5
'
,
...
...
@@ -479,7 +479,7 @@ function checkForPlatformFailure(err: Error) {
'
Failed to connect to
'
,
'
Connection timed out
'
,
];
for
(
const
errorStr
of
platform
Error
Strings
)
{
for
(
const
errorStr
of
platform
Failure
Strings
)
{
if
(
err
.
message
.
includes
(
errorStr
))
{
throw
new
Error
(
'
platform-failure
'
);
}
...
...
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