Don't print UnexpectedStateError.LastError
when it's nil
#1359
Labels
enhancement
New feature or request
UnexpectedStateError.LastError
when it's nil
#1359
SDK version
Use-cases
In case when the retry func faces an unexpected resource status it returns
unexpected state 'ACTIVE', wanted target 'DELETED'. last error: %!s(<nil>)
.Attempted Solutions
Proposal
There should be more cleaner error report, when LastError is nil:
unexpected state 'ACTIVE', wanted target 'DELETED'
, e.g.References
terraform-plugin-sdk/helper/retry/error.go
Line 45 in 4c604df
https://github.com/search?q=%22last+error%3A+%25%21s%28%3Cnil%3E%29%22&type=issues
The text was updated successfully, but these errors were encountered: