Commit ef5ce9f
fix: catch OAuth token refresh timeouts in call() method (#93)
Move setupHttp() and test endpoint URL replacement inside the try-catch block to ensure connection timeouts during token refresh are caught and converted to AmznSPAConnectionTimeoutException, which job middleware already handles.
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>1 parent aff5c2f commit ef5ce9f
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | | - | |
175 | | - | |
176 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | | - | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments