From f82634b6b1b9174d9b3e7ae09958359584cd9db6 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Wed, 22 Feb 2017 10:03:22 +0000 Subject: [PATCH] [ML] Use ExceptionsHelper.convertToElastic to wrap exceptions in TransportJobTaskAction (elastic/x-pack-elasticsearch#577) * Wrap exceptions if they are not ElasticsearchExceptions in TransportJobTaskAction * Review comments Original commit: elastic/x-pack-elasticsearch@07e900ffaabd2451ee5b1533b68a8236d202a2d9 --- .../xpack/ml/action/TransportJobTaskAction.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java index b63682702c6..a72606e40ce 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/TransportJobTaskAction.java @@ -96,9 +96,9 @@ public abstract class TransportJobTaskAction