Skip to content

Commit

Permalink
change AssertionError to RTE (#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellis committed Nov 30, 2012
1 parent 2f187c9 commit 188f079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/tools/NodeProbe.java
Expand Up @@ -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() public String getDataCenter()
Expand Down

0 comments on commit 188f079

Please sign in to comment.