fix exception state

This commit is contained in:
OCram85 2017-08-16 11:27:24 +02:00
parent 00190b8d80
commit 0f41700354
1 changed files with 1 additions and 1 deletions

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
}
}