Skip to content

Commit

Permalink
Better error handling and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek authored and azure-sdk committed Jul 18, 2023
1 parent 92b639a commit 50702c3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ steps:
}
Write-Host "All packages passed validation"
} catch {
Write-Error "Failed to parse DocsMsPackagesAllValid value '$value' as a boolean."
} catch [FormatException] {
Write-Host "Failed to parse DocsMsPackagesAllValid value '$value' as a boolean."
Write-Error $_
exit 1
}
displayName: Check package validation results

0 comments on commit 50702c3

Please sign in to comment.