Commit 013d9ae3 by Konstantin Käfer

return the exception object

parent cff18a2f
......@@ -314,12 +314,14 @@ Handle<Value> Database::Configure(const Arguments& args) {
db->Schedule(RegisterTraceCallback, baton);
}
else {
ThrowException(Exception::Error(String::Concat(
return ThrowException(Exception::Error(String::Concat(
args[0]->ToString(),
String::NewSymbol(" is not a valid configuration option")
)));
}
db->Process();
return args.This();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment