Skip to content

Commit

Permalink
fix(gitlab): catch git permission error (#8629)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Feb 10, 2021
1 parent 5ed94a4 commit efab9be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/git/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit efab9be

Please sign in to comment.