Update some info in md-link-checks (#8757)

This commit is contained in:
Reece Dunham 2019-01-28 22:54:23 -05:00 committed by Ilya
parent cec4557932
commit 5581c0a0ed

View file

@ -96,7 +96,7 @@ Describe "Verify Markdown Links" {
$prefix = $url.Substring(0,7) $prefix = $url.Substring(0,7)
# Logging for diagnosability. AzDevOps sometimes redacts the full url. # Logging for diagnosability. Azure DevOps sometimes redacts the full url.
Write-Verbose "prefix: '$prefix'" -Verbose Write-Verbose "prefix: '$prefix'" -Verbose
if($url -match '^http(s)?:') if($url -match '^http(s)?:')
{ {
@ -106,11 +106,11 @@ Describe "Verify Markdown Links" {
} }
catch catch
{ {
throw "retry of url failed with error: $($_.Message)" throw "retry of URL failed with error: $($_.Message)"
} }
} }
else { else {
throw "Tool reported Url as unreachable." throw "Tool reported URL as unreachable."
} }
} }
} }