-More informative dispatch error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-06-19 15:42:50 +00:00
parent 8a7b79ca4b
commit 94e5b6dcdf

View File

@ -908,7 +908,7 @@ sub dispatch_request {
xCAT::Client::submit_request($_,\&dispatch_callback,$xcatdir."/cert/server-cred.pem",$xcatdir."/cert/server-cred.pem",$xcatdir."/cert/ca.pem");
};
if ($@) {
dispatch_callback({error=>["Error dispatching command to ".$ENV{XCATHOST}.""],errorcode=>[1]});
dispatch_callback({error=>["Unable to dispatch command to ".$ENV{XCATHOST}.", command will not make changes to that server"],errorcode=>[1]});
syslog("local4|err","Error dispatching request: ".$@);
}
} else {