diff --git a/js/common/modules/org/arangodb/simple-query-common.js b/js/common/modules/org/arangodb/simple-query-common.js index 0181c4bcff..50807b3384 100644 --- a/js/common/modules/org/arangodb/simple-query-common.js +++ b/js/common/modules/org/arangodb/simple-query-common.js @@ -1042,7 +1042,9 @@ SimpleQueryNear = function (collection, latitude, longitude, iid) { if (this._index === null) { var err = new ArangoError(); err.errorNum = arangodb.ERROR_QUERY_GEO_INDEX_MISSING; - err.errorMessage = require("internal").sprintf(arangodb.errors.ERROR_QUERY_GEO_INDEX_MISSING.message, collection.name()); + err.errorMessage = require("internal").sprintf( + arangodb.errors.ERROR_QUERY_GEO_INDEX_MISSING.message, + collection.name()); throw err; } };