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

Handle ElasticsearchException in Counts class #3288

Merged
merged 1 commit into from Jan 4, 2017
Merged

Handle ElasticsearchException in Counts class #3288

merged 1 commit into from Jan 4, 2017

Conversation

@joschi
Copy link
Contributor

@joschi joschi commented Jan 3, 2017

Instead of bubbling up the ElasticsearchException in Counts#total() or Counts#total(IndexSet), it is now caught and the methods will return -1.

Closes #2381

@joschi joschi added this to the 2.2.0 milestone Jan 3, 2017
@joschi joschi force-pushed the issue-2381 branch from f95e51e to 06e8573 Jan 4, 2017
@bernd bernd self-assigned this Jan 4, 2017
@bernd
bernd approved these changes Jan 4, 2017
Copy link
Member

@bernd bernd left a comment

LGTM 👍

@bernd bernd merged commit 6bf7907 into master Jan 4, 2017
4 checks passed
4 checks passed
@garybot2
ci-web-linter Jenkins build graylog-pr-linter-check 1241 has succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details
@bernd bernd deleted the issue-2381 branch Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants