Skip to content

Commit

Permalink
(chocolatey-archiveGH-568) capture and return errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jan 22, 2015
1 parent bcea921 commit 4f66ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/functions/Write-ChocolateyFailure.ps1
Expand Up @@ -28,4 +28,5 @@ param(
-----------------------"
$errorMessage | Out-File -FilePath $logFile -Force -Append
Write-Error $errorMessage
$error | %{ $_.Exception | fl * | Out-String }
}

0 comments on commit 4f66ad8

Please sign in to comment.