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
If an unrecoverable error is encountered before the final attempt, the unwrapped value of the error returned by Do is nil. This behaviour is demonstrated by the following program.
If an unrecoverable error is encountered before the final attempt, the unwrapped value of the error returned by
Do
isnil
. This behaviour is demonstrated by the following program.The following output is observed when using v4.3.1.
The following output is expected instead, where the last encountered error is returned.
This is caused by
Error.Unwrap
not checking fornil
values.retry-go/retry.go
Lines 245 to 247 in affbf8f
The text was updated successfully, but these errors were encountered: