Ajout gestion des erreurs soap méthodes getPortefeuille
This commit is contained in:
parent
a26bb42250
commit
b89e254e91
@ -84,6 +84,8 @@ class WsScores
|
|||||||
$reponse = $client->getPortefeuille($params);
|
$reponse = $client->getPortefeuille($params);
|
||||||
return $reponse->getPortefeuilleResult;
|
return $reponse->getPortefeuilleResult;
|
||||||
} catch (SoapFault $fault) {
|
} catch (SoapFault $fault) {
|
||||||
|
require_once 'soaperror.php';
|
||||||
|
processSoapFault($client, $fault, $tabInfo);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user