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

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
Copy link
Contributor

Thank you for the PR :)

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.

2 participants