Commit 13d2df2
committed
fix(client): update
This fixes an issue where we failed to include the latest
error in the `errors` vec before returning from impl_inner_call
with Error::AllAttemptsErrored. This meant that if the configured
retries was set to 0, an error would be raised with an empty
errors vec.
Tested by setting Config::retry to 0, triggering a client-side
error, and observing the errors vec contained within
Error::AllAttemptsErrored.errors before checking if retries exhuasted1 parent 5d7be37 commit 13d2df2
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments