Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/common/markdown/markdown-link.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ Describe "Verify Markdown Links" {
{
$null = Invoke-WebRequest -uri $url -RetryIntervalSec 10 -MaximumRetryCount 6
}
catch
catch [Microsoft.PowerShell.Commands.HttpResponseException]
{
if ( $allowedFailures -notcontains $_.Exception.Response.StatusCode ) {
throw "retry of URL failed with error: $($_.Exception.Message)"
throw "Failed to complete request to `"$url`". $($_.Exception.Message)"
}
}
}
Expand Down