fix exception state
This commit is contained in:
parent
00190b8d80
commit
0f41700354
@ -67,6 +67,6 @@ Function Set-ChallengeFile() {
|
|||||||
[io.file]::WriteAllBytes($Path, $Keys)
|
[io.file]::WriteAllBytes($Path, $Keys)
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
$_.Exception | Format-List -Force | Out-String | Write-ErrorErrorAction Stop
|
$_.Exception | Format-List -Force | Out-String | Write-Error -ErrorAction Stop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user