Skip to content
Snippets Groups Projects
Unverified Commit efab9be9 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

fix(gitlab): catch git permission error (#8629)

parent 5ed94a49
No related branches found
No related tags found
Loading
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment