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
I've got Submit-Renewal setup to ignore errors using the -ErrorAction SilentyContinue and the error messages are still being displayed (I'm catching the error via -ErrorVariable).
This is causing my automation to fail since it sees the error being returned.
The text was updated successfully, but these errors were encountered:
Hey @mrdenny, thanks for reaching out. The docs for ErrorAction indicate it only affects non-terminating errors. But all of the errors that are explicitly raised by Submit-Renewal are currently terminating errors like having no account set or a no order found.
If you want to trap those, you'll likely have to put that code in a try/catch block.
Out of curiosity, what sort of errors are you seeing?
I've got Submit-Renewal setup to ignore errors using the -ErrorAction SilentyContinue and the error messages are still being displayed (I'm catching the error via -ErrorVariable).
This is causing my automation to fail since it sees the error being returned.
The text was updated successfully, but these errors were encountered: