You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2015/03/18 18:05:44 UTC

incubator-usergrid git commit: Added more descriptive error message

Repository: incubator-usergrid
Updated Branches:
  refs/heads/USERGRID-490 e6fb121a8 -> 3a47cf376


Added more descriptive error message


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/3a47cf37
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/3a47cf37
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/3a47cf37

Branch: refs/heads/USERGRID-490
Commit: 3a47cf376b5c88734ab7111b2b504bab9e4cd5c5
Parents: e6fb121
Author: Todd Nine <tn...@apigee.com>
Authored: Wed Mar 18 11:05:42 2015 -0600
Committer: Todd Nine <tn...@apigee.com>
Committed: Wed Mar 18 11:05:42 2015 -0600

----------------------------------------------------------------------
 .../apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/3a47cf37/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
index cecd297..1838eec 100644
--- a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
+++ b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsEntityIndexImpl.java
@@ -293,7 +293,7 @@ public class EsEntityIndexImpl implements AliasedEntityIndex {
             final boolean isAcknowledged = result.isAcknowledged();
 
             if(!isAcknowledged){
-                throw new RuntimeException( "Unable to add aliases to the new index " + indexSuffix );
+                throw new RuntimeException( "Unable to add aliases to the new index.  Elasticsearch did not acknowledge to the alias change for index '" + indexSuffix + "'");
             }
 
         }