-
-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
afterResponse fired 3 times on error #2324
Comments
Works as expected. Since From the docs:
Example: await got("http://localhost:3000/noretry", {
retry: {
limit: 0,
},
// ....
}) |
@noxify I had retry limit in extended instance
|
Hi @makhataibar, unfortunately I can't reproduce your described behavior. here the repo which I have used to reproduce it: https://github.com/noxify/honojs-got Could you please provide a repo which includes a running example which reproduce your issue. |
Describe the bug
Actual behavior
When got throwing errors afterResponse hook fired 3 times
Expected behavior
afterResponse should be fired only once
Code to reproduce
The text was updated successfully, but these errors were encountered: