Commit 677d7d9e authored by jerome's avatar jerome
Browse files

webservice MDL-12886 SOAP server: register moodle_exception (fix for "unknown exception" )

parent fdae6937
......@@ -107,6 +107,7 @@ final class soap_server extends webservice_server {
} else {
$soap = new Zend_Soap_Server($CFG->wwwroot."/webservice/soap/server.php?token=".$token."&classpath=".$classpath."&wsdl"); // this current file here
$soap->setClass($classpath."_external");
$soap->registerFaultException(moodle_exception);
$soap->handle();
}
}
......
Supports Markdown
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