Skip to content

Commit

Permalink
Log error code and text in mnet_server_fault_xml function. MDL-10196
Browse files Browse the repository at this point in the history
  • Loading branch information
donal72 committed Oct 16, 2007
1 parent a4fbad6 commit 49ce7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/xmlrpc/server.php
Expand Up @@ -281,7 +281,7 @@ function mnet_server_fault_xml($code, $text) {
</methodResponse>');

if (!empty($CFG->mnet_rpcdebug)) {
trigger_error("XMLRPC Error Response");
trigger_error("XMLRPC Error Response $code: $text");
trigger_error(print_r($return,1));
}

Expand Down

0 comments on commit 49ce7ff

Please sign in to comment.