1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
Jan Steemann 2015-08-03 10:54:57 +02:00
commit 9c97800adf
1 changed files with 1 additions and 1 deletions

View File

@ -1042,7 +1042,7 @@ SimpleQueryNear = function (collection, latitude, longitude, iid) {
if (this._index === null) {
var err = new ArangoError();
err.errorNum = arangodb.ERROR_QUERY_GEO_INDEX_MISSING;
err.errorMessage = arangodb.errors.ERROR_QUERY_GEO_INDEX_MISSING.message;
err.errorMessage = require("internal").sprintf(arangodb.errors.ERROR_QUERY_GEO_INDEX_MISSING.message, collection.name());
throw err;
}
};