Commit fdae6937 authored by jerome's avatar jerome
Browse files

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

parent cbe40df7
......@@ -77,6 +77,7 @@ final class soap_server extends webservice_server {
$soap = new Zend_Soap_Server($CFG->wwwroot."/webservice/soap/server.php?wsdl"); // this current file here
$soap->setClass('ws_authentication');
$soap->registerFaultException(moodle_exception);
$soap->handle();
}
} else { // if token exist, do the authentication here
......
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