Permalink
Browse files

change AssertionError to RTE (#5007)

  • Loading branch information...
1 parent 2f187c9 commit 188f0792858167da48f59bdc8f07844d2ef82e18 @jbellis jbellis committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/org/apache/cassandra/tools/NodeProbe.java
@@ -590,7 +590,7 @@ public String getEndpoint()
}
}
- throw new AssertionError("Could not find myself in the endpoint list, something is very wrong!");
+ throw new RuntimeException("Could not find myself in the endpoint list, something is very wrong! Is the Cassandra node fully started?");
}
public String getDataCenter()

0 comments on commit 188f079

Please sign in to comment.