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(error): make sure error.config is defined in the errorLogger #110

Merged
merged 3 commits into from May 7, 2022

Conversation

tusbar
Copy link
Contributor

@tusbar tusbar commented May 3, 2022

Sometimes, axios throws an error without error.config, this makes sure
we don’t destructure an undefined property.

Related: axios/axios#4665
Fix #94

Sometimes, axios throws an error without `error.config`, this makes sure
we don’t destructure an undefined property.

Related: axios/axios#4665
Fix hg-pyun#94
@tusbar tusbar force-pushed the tusbar/check-error-config branch from 30d0d3c to acb16d0 Compare May 3, 2022 09:15
@tusbar tusbar changed the title fix: make sure error.config is defined in the errorLogger fix(error): make sure error.config is defined in the errorLogger May 3, 2022
@hg-pyun hg-pyun merged commit cf68d60 into hg-pyun:master May 7, 2022
@tusbar tusbar deleted the tusbar/check-error-config branch October 9, 2022 09:39
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.

Error logger crashes if config is null or undefined
2 participants