From 2af4fba7e586b17f9e7bc54b761ef2909d690b12 Mon Sep 17 00:00:00 2001 From: T Jake Luciani Date: Thu, 27 Aug 2015 12:06:47 -0400 Subject: [PATCH] improve error message for cassandra-stress schema errors patch by tjake; reviewed by Jim Witschey for CASSANDRA-9984 --- tools/stress/src/org/apache/cassandra/stress/StressProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/stress/src/org/apache/cassandra/stress/StressProfile.java b/tools/stress/src/org/apache/cassandra/stress/StressProfile.java index 8485a6ca5a..2bf2b41a01 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