Skip to content
Open
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
2 changes: 1 addition & 1 deletion resources/PSScript/psscript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ try {
"Script failed with terminating error: $($ps.InvocationStateInfo.Reason)"
}
Write-DscTrace -Now -Level Error -Message $message
Write-TraceQueue
exit 1
Comment on lines 156 to 158
}

Expand All @@ -162,7 +163,6 @@ try {


if ($ps.HadErrors) {
# Errors can be non-terminating, so we just write a warning and continue
Write-DscTrace -Now -Level Debug -Message 'Non-terminating errors occurred during script execution.'
}

Expand Down
Loading