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

refactor(helpers): optimize the logic of isAxiosError #3546

Merged
merged 7 commits into from Dec 22, 2021

Conversation

BlackHole1
Copy link
Contributor

@BlackHole1 BlackHole1 commented Jan 14, 2021

add the judgment of null

Copy link
Contributor

@JasonHK JasonHK left a comment

Choose a reason for hiding this comment

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

Thanks! 😄 I should use the isObject function in the first place.

@johachi
Copy link
Contributor

johachi commented Apr 14, 2021

Nice! I just discovered this while writing tests for my codebase! Hope this will be merged soon!

@stephenwade
Copy link

@jasonsaayman Could you take a look at this please? I just ran into an issue that this would fix (passing null to isAxiosError throws an exception) in my codebase.

@johachi
Copy link
Contributor

johachi commented Nov 4, 2021

The forgotten PR 😭

@jasonsaayman
Copy link
Member

No longer forgotten :)

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

5 participants