diff --git a/tools/AppVeyor.psm1 b/tools/AppVeyor.psm1 index 833811d..4b8eb5f 100644 --- a/tools/AppVeyor.psm1 +++ b/tools/AppVeyor.psm1 @@ -233,6 +233,7 @@ Function Invoke-AppVeyorPSGallery() { Category = 'Error' Details = $_.Exception.Message } + $_.Exception.Message | Write-Error Add-AppveyorMessage @MsgParams Throw $MsgParams.Message }