-
Notifications
You must be signed in to change notification settings - Fork 70
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 issue with intermittent promise rejection error #1859
Fix issue with intermittent promise rejection error #1859
Conversation
🦋 Changeset detectedLatest commit: f2907a1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report
@@ Coverage Diff @@
## master #1859 +/- ##
==========================================
+ Coverage 94.68% 94.71% +0.03%
==========================================
Files 145 145
Lines 4988 4998 +10
Branches 1363 1365 +2
==========================================
+ Hits 4723 4734 +11
+ Misses 262 261 -1
Partials 3 3
|
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 pretty nice 💯 , just left some thoughts.
…rror - add an error catch block to handle serialization errors
- DEVX-180 write tests for new bug fix
- use correct error class for error handling. - change network error to server error
bb04290
to
f2907a1
Compare
Summary
Serialization of response object throws unhandled promise rejection errors
Description
Intermittent unhandled promise rejection errors occurs due to bad object serialization.
Todo
Related Issues
#1858
DEVX-180 - Jira