Better error message
This commit is contained in:
parent
2dc4faaff4
commit
d9c59b742c
1 changed files with 4 additions and 1 deletions
|
|
@ -218,7 +218,10 @@ class WebservicesInvoicesTest extends CommonClassTest
|
|||
try {
|
||||
$result = $this->soapclient->call($WS_METHOD, $parameters, $this->ns, '');
|
||||
} catch (SoapFault $exception) {
|
||||
echo $exception;
|
||||
echo $exception->getMessage();
|
||||
$result = 0;
|
||||
} catch (Exception $e) {
|
||||
echo $e->getMessage();
|
||||
$result = 0;
|
||||
}
|
||||
if (! $result || !empty($result['faultstring'])) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue