summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlrpc_client.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-29 02:28:22 +0000
committerErmal <eri@pfsense.org>2011-09-29 02:28:22 +0000
commit9a4cfa0b23d27db263420cdcf54edfa86c034ad3 (patch)
tree63974864689be1422acf1fb5580024715dfe2372 /etc/inc/xmlrpc_client.inc
parentb3c106a0066554ca8721ef9ce67c957d74de6a87 (diff)
downloadpfsense-9a4cfa0b23d27db263420cdcf54edfa86c034ad3.zip
pfsense-9a4cfa0b23d27db263420cdcf54edfa86c034ad3.tar.gz
Try to send the xmlrpc errors to the system log
Diffstat (limited to 'etc/inc/xmlrpc_client.inc')
-rw-r--r--etc/inc/xmlrpc_client.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc
index 3318f2a..bdd3097 100644
--- a/etc/inc/xmlrpc_client.inc
+++ b/etc/inc/xmlrpc_client.inc
@@ -559,8 +559,10 @@ class XML_RPC_Base {
{
include_once 'PEAR.inc';
if (is_object(@$this)) {
+ log_error(get_class($this) . ': ' . $msg . " {$code}")
return PEAR::raiseError(get_class($this) . ': ' . $msg, $code);
} else {
+ log_error("XML_RPC: " . ': ' . $msg . " {$code}")
return PEAR::raiseError('XML_RPC: ' . $msg, $code);
}
}
OpenPOWER on IntegriCloud