fix exception state

This commit is contained in:
OCram85 2017-08-16 11:27:24 +02:00
parent 00190b8d80
commit 0f41700354

View File

@ -67,6 +67,6 @@ Function Set-ChallengeFile() {
[io.file]::WriteAllBytes($Path, $Keys)
}
catch {
$_.Exception | Format-List -Force | Out-String | Write-ErrorErrorAction Stop
$_.Exception | Format-List -Force | Out-String | Write-Error -ErrorAction Stop
}
}