mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
improve OpConfigError output
This commit is contained in:
parent
28ddf424bb
commit
ea392ad462
@ -47,7 +47,7 @@ public class OpConfigError extends ActivityInitError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (getCause()!=null) {
|
if (getCause()!=null) {
|
||||||
sb.append("cause: " + getCause().getMessage());
|
sb.append(" cause: " + getCause().getClass().getSimpleName() + ":"+ getCause().getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (getCause()!=null) {
|
// if (getCause()!=null) {
|
||||||
@ -62,7 +62,7 @@ public class OpConfigError extends ActivityInitError {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
if (super.getMessage()!=null) {
|
if (super.getMessage()!=null) {
|
||||||
sb.append(super.getMessage());
|
sb.append(" " + super.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user