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

Ensure an empty errorResponse gets picked up as a jetstream error #3301

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

KlapTrap
Copy link
Contributor

@KlapTrap KlapTrap commented Jan 3, 2019

In some rare cases the jetstream returns an error message with a null errorResponse. I've changed the check to check that the errorResponse key exists rather than check that it is a truthy.

@cfdreddbot
Copy link

✅ Hey KlapTrap! The commit authors and yourself have already signed the CLA.

@codecov
Copy link

codecov bot commented Jan 3, 2019

Codecov Report

❗ No coverage uploaded for pull request base (v2-master@f42e1e9). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             v2-master    #3301   +/-   ##
============================================
  Coverage             ?   70.88%           
============================================
  Files                ?      641           
  Lines                ?    28167           
  Branches             ?     6405           
============================================
  Hits                 ?    19966           
  Misses               ?     8201           
  Partials             ?        0

Copy link
Contributor

@nwmac nwmac left a comment

Choose a reason for hiding this comment

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

LGTM

@nwmac nwmac merged commit 1109baa into v2-master Jan 4, 2019
@nwmac nwmac deleted the fix-jetstream-error branch January 4, 2019 14:54
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.

3 participants