mirror of https://gitee.com/bigwinds/arangodb
fix error message
This commit is contained in:
parent
1e4f0a1e65
commit
e6d5058557
|
@ -1079,7 +1079,7 @@ std::shared_ptr<VPackBuilder> RestImportHandler::createVelocyPackObject(
|
|||
|
||||
if (itKeys.size() != itValues.size()) {
|
||||
errorMsg = positionize(lineNumber) + "wrong number of JSON values (got " +
|
||||
std::to_string(itKeys.size()) + ", expected " + std::to_string(itValues.size()) + ")";
|
||||
std::to_string(itValues.size()) + ", expected " + std::to_string(itKeys.size()) + ")";
|
||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_BAD_PARAMETER, errorMsg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue