From: Florent Bruneau Date: Wed, 15 Dec 2010 12:43:41 +0000 (+0100) Subject: In case of RPC error, show the HTTP answer. X-Git-Tag: core/1.1.2~18^2~2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=502bb918559d93793538b8d9bc451600fbb9c027;p=platal.git In case of RPC error, show the HTTP answer. Signed-off-by: Florent Bruneau --- diff --git a/classes/xmlrpcclient.php b/classes/xmlrpcclient.php index bcd4e23..ab0c716 100644 --- a/classes/xmlrpcclient.php +++ b/classes/xmlrpcclient.php @@ -123,7 +123,7 @@ class XmlrpcClient } } else { Platal::assert(!is_array($result) && isset($result['faultCode']), - "RPC Error:\n" . $result['faultString'], + "RPC Error:\n" . $answer, "Une erreur est survenue lors de l'accès aux listes de diffusion."); }