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

[FEATURE] Fix up feature branch after merging master #40094

Conversation

droberts195
Copy link
Contributor

Feature branch PR

Incorporates feedback from #40060 (review)

@droberts195 droberts195 added the :ml Machine learning label Mar 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@@ -107,6 +104,8 @@ public void writeTo(StreamOutput out) throws IOException {
if (parsingException != null) { // Do we have a parsing error? Throw it
if (parsingException instanceof IOException) {
throw (IOException) parsingException;
} else if (parsingException instanceof RuntimeException) {
throw (RuntimeException) parsingException;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this bit because almost all exceptions used in Elasticsearch are RuntimeExceptions and the bit below that wraps in an ElasticsearchException with no message is not great from the point of view of readability of error responses.

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

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

LGTM

@droberts195
Copy link
Contributor Author

Jenkins run elasticsearch-ci/packaging-sample

@droberts195
Copy link
Contributor Author

The failing packaging test is failing on master too at the moment. Since this PR is only merging to the feature branch I'll merge anyway.

@droberts195 droberts195 merged commit 142edfe into elastic:feature-ml-data-frame-analytics Mar 15, 2019
@droberts195 droberts195 deleted the fix-feature-ml-data-frame-analytics branch March 15, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants