Skip to content

Commit

Permalink
fix(git): external host error for host resolution failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 3, 2021
1 parent 62c5fa9 commit ef7e3c1
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 @@ -70,6 +70,7 @@ function checkForPlatformFailure(err: Error): void {
'Connection timed out',
'malformed object name',
'TF401027:', // You need the Git 'GenericContribute' permission to perform this action
'Could not resolve host',
];
for (const errorStr of externalHostFailureStrings) {
if (err.message.includes(errorStr)) {
Expand Down

0 comments on commit ef7e3c1

Please sign in to comment.