mirror of https://gitee.com/bigwinds/arangodb
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:
parent
16746ae026
commit
49fb7effb3
|
@ -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);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue