Skip to content

Commit

Permalink
Fix DNSimple plugin not properly ignoring 404 API errors on PowerShel…
Browse files Browse the repository at this point in the history
…l 5.1 (#549)
  • Loading branch information
rmbolger committed May 23, 2024
1 parent 89b5369 commit ea5a172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Posh-ACME/Plugins/DNSimple.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function Find-DSZone {
return @($zoneTest,$acct.id)
} catch {
# re-throw anything other than a 404
if ($_.Exception.StatusCode -ne 404) {
if ($_.Exception.Response.StatusCode -ne 404) {
throw
}
}
Expand Down

0 comments on commit ea5a172

Please sign in to comment.