better javascript error reporting

This commit is contained in:
Eliot Horowitz
2009-05-01 14:34:44 -04:00
parent 95ba86d74e
commit 871476dbb5
3 changed files with 7 additions and 1 deletions

View File

@@ -210,6 +210,10 @@ namespace mongo {
setObject( "args" , args );
return JavaJS->invoke(s,function);
}
string getError(){
return getString( "error" );
}
jlong s;
};