Skip to content
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

fix: include config on new CancelledError #4922

Merged
merged 10 commits into from Nov 25, 2022
Merged

Conversation

arthurfiorette
Copy link
Contributor

Suplement of #4659 and #4711.

Another line of code that throws CanceledError was left behind. :)

@arthurfiorette
Copy link
Contributor Author

The CI broke because of what? Do not seems an issue with the 2 parameters I added. Can someone rerun it?

@Legion2
Copy link

Legion2 commented Sep 10, 2022

We are getting many errors because config property of AxiosError is undefined in our request interceptors, but according to the typescript definition it is not allowed to be undefined. We think that this is caused by CancelledError which do not include the config property.

@arthurfiorette
Copy link
Contributor Author

@jasonsaayman can we get this merged? :)

@arthurfiorette
Copy link
Contributor Author

@DigitalBrainJS can you approve this PR?

@arthurfiorette arthurfiorette mentioned this pull request Nov 11, 2022
@jasonsaayman jasonsaayman merged commit cac6cfa into axios:v1.x Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants