diff --git a/arangod/RestHandler/RestEdgeHandler.cpp b/arangod/RestHandler/RestEdgeHandler.cpp index 025bb5bd8f..18ca43113f 100644 --- a/arangod/RestHandler/RestEdgeHandler.cpp +++ b/arangod/RestHandler/RestEdgeHandler.cpp @@ -106,7 +106,7 @@ bool RestEdgeHandler::createDocument () { if (suffix.size() != 0) { generateError(HttpResponse::BAD, TRI_ERROR_HTTP_SUPERFLUOUS_SUFFICES, - "superfluous suffix, expecting " + DOCUMENT_PATH + "?collection="); + "superfluous suffix, expecting " + EDGE_PATH + "?collection="); return false; }