Repository: cassandra Updated Branches: refs/heads/cassandra-3.1 ca32e0536 -> 924fb4d50
improve error message for cassandra-stress schema errors patch by tjake; reviewed by Jim Witschey for CASSANDRA-9984 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2af4fba7 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2af4fba7 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2af4fba7 Branch: refs/heads/cassandra-3.1 Commit: 2af4fba7e586b17f9e7bc54b761ef2909d690b12 Parents: 1cbd827 Author: T Jake Luciani <j...@apache.org> Authored: Thu Aug 27 12:06:47 2015 -0400 Committer: T Jake Luciani <j...@apache.org> Committed: Tue Dec 1 10:38:21 2015 -0500 ---------------------------------------------------------------------- tools/stress/src/org/apache/cassandra/stress/StressProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/2af4fba7/tools/stress/src/org/apache/cassandra/stress/StressProfile.java ---------------------------------------------------------------------- diff --git a/tools/stress/src/org/apache/cassandra/stress/StressProfile.java b/tools/stress/src/org/apache/cassandra/stress/StressProfile.java index 8485a6c..2bf2b41 100644 --- a/tools/stress/src/org/apache/cassandra/stress/StressProfile.java +++ b/tools/stress/src/org/apache/cassandra/stress/StressProfile.java @@ -126,7 +126,7 @@ public class StressProfile implements Serializable } catch (RuntimeException e) { - throw new IllegalArgumentException("There was a problem parsing the table cql: " + e.getCause().getMessage()); + throw new IllegalArgumentException("There was a problem parsing the table cql: " + e.getMessage()); } } else