We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea48e07 commit 08d6be9Copy full SHA for 08d6be9
1 file changed
test/common/markdown/markdown-link.tests.ps1
@@ -111,10 +111,10 @@ Describe "Verify Markdown Links" {
111
{
112
$null = Invoke-WebRequest -uri $url -RetryIntervalSec 10 -MaximumRetryCount 6
113
}
114
- catch
+ catch [Microsoft.PowerShell.Commands.HttpResponseException]
115
116
if ( $allowedFailures -notcontains $_.Exception.Response.StatusCode ) {
117
- throw "retry of URL failed with error: $($_.Exception.Message)"
+ throw "Failed to complete request to `"$url`". $($_.Exception.Message)"
118
119
120
0 commit comments