You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dvdgutzmann, thanks for reaching out. Sorry about that. This looks to be a PowerShell 5.1 specific issue I had forgotten was different. The Microsoft.PowerShell.Commands.HttpResponseException that PS 7+ returns does actually have a StatusCode field. But the System.Net.WebException that PS 5.1 returns doesn't.
Hi!
In 01c3764 the
Write-Debug
(https://github.com/rmbolger/Posh-ACME/blame/8236403fff306555f0ec9a7eb7ecf2ed33653d9f/Posh-ACME/Plugins/DNSimple.ps1#L253) was guarded with an if-statement. TheWrite-Debug
was later in ea925c8 replaced with athrow
- which now causes our orchestrating code to crash. The condition should be corrected to$_.Exception.Response.StatusCode -ne 404
Thanks! David
The text was updated successfully, but these errors were encountered: