diff --git a/.appveyor/gitDescribe.ps1 b/.appveyor/gitDescribe.ps1 index 01e40629..98fe26ca 100644 --- a/.appveyor/gitDescribe.ps1 +++ b/.appveyor/gitDescribe.ps1 @@ -28,7 +28,7 @@ catch [System.Net.WebException] # Get tag info try{ - $tagsInfo = ($result | % { "$($githubRepoApiUri)git/tags/$($_.object.sha)" ;} | % { Invoke-RestMethod -Method 'GET' -Uri $($_) -Headers $gitApiAuthHeader}) + $tagsInfo = ($result | % { "$($githubRepoApiUri)git/tags/$($_.object.sha)" ;} | % { try { Invoke-RestMethod -Method 'GET' -Uri $($_) -Headers $gitApiAuthHeader} catch {}}) } catch [System.Net.WebException] {