1
0
Fork 0

bugfix line 1899

This commit is contained in:
a-brandt 2012-04-25 15:40:01 +02:00
parent 40fb4ba528
commit c9add8a783
1 changed files with 1 additions and 1 deletions

View File

@ -1896,7 +1896,7 @@ static v8::Handle<v8::Value> JS_ByExampleQuery (v8::Arguments const& argv) {
CreateErrorObject(TRI_ERROR_BAD_PARAMETER,
"cannot convert attribute name to UTF8")));
}
else if (values[i] == 0) {
else {
return scope.Close(v8::ThrowException(
CreateErrorObject(TRI_ERROR_BAD_PARAMETER,
"cannot convert value to JSON")));