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

Response can be undefined at this point if there was an error. #8

Merged
merged 1 commit into from Sep 14, 2015

Conversation

@lightswitch05
Copy link
Contributor

lightswitch05 commented Sep 11, 2015

Check response before accessing it. If there is an err then it can get to this line with response being undefined.

Check `response` before accessing it. If there is an `err` then it can get to this line with `response` being undefined.
SebastianStamm added a commit that referenced this pull request Sep 14, 2015
fix(http-client): check existence of response in case of error
@SebastianStamm SebastianStamm merged commit a546fe5 into camunda:master Sep 14, 2015
@SebastianStamm

This comment has been minimized.

Copy link
Contributor

SebastianStamm commented Sep 14, 2015

Thank you for the PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.