Skip to content

Option to expose more error detail in CI #141

Answered by BernieWhite
ArmaanMcleod asked this question in Q&A
Discussion options

You must be logged in to vote

@ArmaanMcleod It probably relates to

ps-rule/powershell.ps1

Lines 257 to 260 in 158611d

catch {
Write-Host "::error::One or more assertions failed.";
$Host.SetShouldExit(1);
}
.

Id' suggest we should be pushing a custom exception type through then we can provide some additional information in output.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ArmaanMcleod
Comment options

Answer selected by ArmaanMcleod
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants