mirror of https://gitee.com/bigwinds/arangodb
Fixed errorNum whenever the vertex-handle is incorrect
This commit is contained in:
parent
aa8e1daaf7
commit
4c8c98524e
|
@ -239,7 +239,7 @@ bool RestEdgesHandler::readEdges () {
|
|||
|
||||
if (! found || *startVertex == '\0') {
|
||||
generateError(HttpResponse::BAD,
|
||||
TRI_ERROR_HTTP_BAD_PARAMETER,
|
||||
TRI_ERROR_ARANGO_DOCUMENT_HANDLE_BAD,
|
||||
"illegal document handle");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue