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
efab9be9
Unverified
Commit
efab9be9
authored
4 years ago
by
Michael Kriese
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(gitlab): catch git permission error (#8629)
parent
5ed94a49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/util/git/index.ts
+1
-0
1 addition, 0 deletions
lib/util/git/index.ts
with
1 addition
and
0 deletions
lib/util/git/index.ts
+
1
−
0
View file @
efab9be9
...
...
@@ -71,6 +71,7 @@ function checkForPlatformFailure(err: Error): void {
'
malformed object name
'
,
'
TF401027:
'
,
// You need the Git 'GenericContribute' permission to perform this action
'
Could not resolve host
'
,
'
is not a member of team
'
,
];
for
(
const
errorStr
of
externalHostFailureStrings
)
{
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