mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
improve error message for bad syntax
This commit is contained in:
parent
ddc4dfe12b
commit
c3c39886fa
@ -53,7 +53,7 @@ public class FieldDestructuringMapper implements Function<Map<String, Object>, M
|
|||||||
return stringObjectMap;
|
return stringObjectMap;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("During op mapping, can't parse something that is not a CharSequence: '" + fieldname + "' (type is " + o.getClass().getCanonicalName() + ")");
|
throw new RuntimeException("During op mapping, can't parse something that is not a CharSequence: '" + fieldname + "' (type is " + o.getClass().getCanonicalName() + ") (value is:" + o.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return stringObjectMap;
|
return stringObjectMap;
|
||||||
|
Loading…
Reference in New Issue
Block a user