What results in a ClientRetryPlugin retry? #1060
-
|
The docs state that: However, I'm hitting a timeout error in Node22 that does not get retried: Is there a set of errors that does / doesn't result in retries, and maybe (as a potential feature request) making it customisable? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
The ClientRetryPlugin decides whether to retry based on the Timeout errors like The plugin also lets you configure retry delays and hooks for custom logic on each retry attempt. If you want to handle specific errors like timeouts, customize To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
There no exception error list, but retry plugin run after user's interceptor - if your interceptor throw error before hit plugin - retry will never happen. But if everything correct, please report a bug with minimal repro. |
Beta Was this translation helpful? Give feedback.
@yinghaochan no,
onErroralways rethrow underhook