Skip to content

Commit

Permalink
Write the whole error in extract-artifact-packages (#5254)
Browse files Browse the repository at this point in the history
We need to write the whole error the the console so we can actually tell what went wrong.
  • Loading branch information
alexperovich authored Apr 16, 2020
1 parent 84787dc commit 79c7dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/sdl/extract-artifact-packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ try {
}
}
catch {
Write-Host $_.ScriptStackTrace
Write-Host $_
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
ExitWithExitCode 1
}
Expand All @@ -74,7 +74,7 @@ try {
Measure-Command { ExtractArtifacts }
}
catch {
Write-Host $_.ScriptStackTrace
Write-Host $_
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message $_
ExitWithExitCode 1
}

0 comments on commit 79c7dc8

Please sign in to comment.