def handle_validate(self, function_name, new_doc, old_doc, user_ctx):
try:<EOL><INDENT>function = get_function(function_name)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>self.log(repr(exc))<EOL>return False<EOL><DEDENT>try:<EOL><INDENT>return function(new_doc, old_doc, user_ctx)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>self.log(repr(exc))<EOL>return repr(exc)<EOL><DEDENT>
Validate...this function is undocumented, but still in CouchDB.