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

Watch improvement 2 #158

Merged
merged 5 commits into from
Apr 16, 2015
Merged

Watch improvement 2 #158

merged 5 commits into from
Apr 16, 2015

Conversation

frozeman
Copy link
Contributor

Re did the PR, with a cleaner commit history

@coveralls
Copy link

Coverage Status

Coverage decreased (-41.57%) to 53.1% when pulling c62f817 on watchImprovement2 into dc0f231 on develop.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-41.57%) to 53.1% when pulling c62f817 on watchImprovement2 into dc0f231 on develop.

try {
request.send(JSON.stringify(payload));
} catch(error) {
throw errors.NoConnection(this.host);
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of throwing error, it should send an error in callback:

callback(errors.NoConnection(this.host));

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you refactored that ;)

@coveralls
Copy link

Coverage Status

Coverage decreased (-41.57%) to 53.1% when pulling 364eab7 on watchImprovement2 into dc0f231 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.23%) to 94.43% when pulling a320ef8 on watchImprovement2 into dc0f231 on develop.

frozeman added a commit that referenced this pull request Apr 16, 2015
@frozeman frozeman merged commit ac69640 into develop Apr 16, 2015
@debris debris deleted the watchImprovement2 branch April 16, 2015 11:45
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.

None yet

3 participants