1
0
Fork 0

issue #1353: Windows: HTTP API - incorrect path in errorMessage

Do not return path part, collection name and key part in error response
This commit is contained in:
Jan Steemann 2015-06-02 10:26:37 +02:00
parent 16746ae026
commit 49fb7effb3
1 changed files with 1 additions and 4 deletions

View File

@ -264,10 +264,7 @@ namespace triagens {
void generateDocumentNotFound (std::string const& collectionName,
TRI_voc_key_t key) {
generateError(rest::HttpResponse::NOT_FOUND,
TRI_ERROR_ARANGO_DOCUMENT_NOT_FOUND,
"document " + DOCUMENT_PATH + "/" +
DocumentHelper::assembleDocumentId(collectionName, key) + " not found");
generateError(rest::HttpResponse::NOT_FOUND, TRI_ERROR_ARANGO_DOCUMENT_NOT_FOUND);
}
////////////////////////////////////////////////////////////////////////////////