1
0
Fork 0

fix error message

This commit is contained in:
jsteemann 2017-03-02 17:53:33 +01:00
parent 1e4f0a1e65
commit e6d5058557
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}