-
Notifications
You must be signed in to change notification settings - Fork 18
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
Improve error handling #38
Conversation
Why is the |
@divyanshu013 I think that's how it works. An error is not an exception. 🤔 😄 I think some fetch libraries might have different implementation though. |
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "appbase-js", | |||
"version": "2.3.0", | |||
"version": "2.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be a patch release or something else?
I hope it doesn't break things for those who depends on status 400 inside .on('data')
.
cc @divyanshu013 😋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do a major release 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, if you can add tests for these cases that would be awesome 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes #36 #163