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

Check res before checking res.statusCode to prevent server crashes #33

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

veryfancy
Copy link
Contributor

@veryfancy veryfancy commented Jan 1, 2019

Server was crashing tonight when dexcom's share server stopped responding. This change will make it not crash in this situation.

@PieterGit
Copy link
Collaborator

@veryfancy LGTM. I will merge it once I have write permissions to the repository. We then need to test the changes and a npm 0.2.0-dev released version of the share2nightscout-bridge library.

@PieterGit PieterGit changed the base branch from wip/generalize to dev January 2, 2019 11:26
@PieterGit PieterGit merged commit cb18133 into nightscout:dev Jan 2, 2019
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.

3 participants