mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Note that we use the username admin when syncing in the error messages
This commit is contained in:
parent
a67fed0d9a
commit
38e5cd1e01
@ -3039,11 +3039,11 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
|
||||
/* send our XMLRPC message and timeout after 240 seconds */
|
||||
$resp = $cli->send($msg, "240");
|
||||
if(!$resp) {
|
||||
$error = "A communications error occured while attempting XMLRPC sync with {$url}:{$port}.";
|
||||
$error = "A communications error occured while attempting XMLRPC sync with username admin {$url}:{$port}.";
|
||||
log_error($error);
|
||||
file_notice("sync_settings", $error, "Settings Sync", "");
|
||||
} elseif($resp->faultCode()) {
|
||||
$error = "An error code was received while attempting XMLRPC sync with {$url}:{$port} - Code " . $resp->faultCode() . ": " . $resp->faultString();
|
||||
$error = "An error code was received while attempting XMLRPC sync with username admin {$url}:{$port} - Code " . $resp->faultCode() . ": " . $resp->faultString();
|
||||
log_error($error);
|
||||
file_notice("sync_settings", $error, "Settings Sync", "");
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user