Commit 7363c92
committed
Fix setting of response body for StatusError exception
As reported in JuliaCloud/AWS.jl#593,
the recently refactored retry logic was failing to properly write
the response body when a `response_stream` was used and a `StatusError`
was thrown.1 parent 487de2c commit 7363c92
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments