From ed8a46ce09ccf43adec55af91a72fc9c5dc1ec05 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 10 Jan 2012 10:43:01 +0200 Subject: [PATCH] on index failure when updating, make sure to call the listener --- .../org/elasticsearch/action/update/TransportUpdateAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java b/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java index 888e1aafe65..5a296cdf925 100644 --- a/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java +++ b/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java @@ -220,6 +220,7 @@ public class TransportUpdateAction extends TransportInstanceSingleOperationActio return; } } + listener.onFailure(e); } }); } else if ("delete".equals(operation)) {