diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts index 21014566e0ceb52c8bad0b02f89876c6573c5e46..aa4e9de0e495227a1f10ece96ad5a13d1104dae3 100644 --- a/lib/util/git/index.ts +++ b/lib/util/git/index.ts @@ -68,6 +68,7 @@ function checkForPlatformFailure(err: Error): void { 'Failed to connect to', 'Connection timed out', 'malformed object name', + 'TF401027:', // You need the Git 'GenericContribute' permission to perform this action ]; for (const errorStr of platformFailureStrings) { if (err.message.includes(errorStr)) {