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

Bump axios from 0.7.0 to 0.19.0 #76

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

bgaeddert
Copy link
Contributor

@bgaeddert bgaeddert commented Apr 21, 2020

Closes #75

When axios went from version 12 to 13 they changed error handling.

https://github.com/axios/axios/blob/master/UPGRADE_GUIDE.md#error-handling

Axios used to return a response object rather than an Error object. To maintain the test cases and maintain existing request handlers; I'm just pulling the response out of the Error object and passing it on.

@arm4b
Copy link
Member

arm4b commented Apr 21, 2020

Closes #75, finishes #68
Related to StackStorm/hubot-stackstorm#197

This is awesome, thank you very much for the fix! 👍

@arm4b arm4b requested a review from blag April 21, 2020 14:19
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I'll let @blag handle this.

Copy link
Member

@punkrokk punkrokk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. @blag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants