Skip to content
Snippets Groups Projects
Commit 3d370224 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #17017 : MappedSoapClient forced to throw exceptions and to trace if logging

parent 4ebb274c
Branches
Tags
5 merge requests!529Hotline 6.56,!512Master,!484Master,!483Hotline 6.54,!478Hotline #17017 missing informations in user account with soap client
......@@ -78,8 +78,16 @@ class Class_WebService_MappedSoapClient extends SoapClient {
public function __construct($wsdl, $options=[]) {
parent::__construct($wsdl, $options);
$this->__generateClassmap();
$options['exceptions'] = true;
if (static::$_logger)
$options['trace'] = true;
try {
parent::__construct($wsdl, $options);
$this->__generateClassmap();
} catch (SoapFault $e) {
static::logError($wsdl, $e->getMessage());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment