mirror of https://github.com/apache/cassandra
improve error message for cassandra-stress schema errors
patch by tjake; reviewed by Jim Witschey for CASSANDRA-9984
This commit is contained in:
parent
1cbd82782e
commit
2af4fba7e5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue