diff --git a/src/Pure/Exception/ClientException.php b/src/Pure/Exception/ClientException.php index 67e26ea..b73cd7b 100644 --- a/src/Pure/Exception/ClientException.php +++ b/src/Pure/Exception/ClientException.php @@ -59,6 +59,8 @@ class ClientException extends PureException */ public function __construct(\Exception $exception) { + parent::__construct($e); + $this->protocolException = null; $this->protocolHttpException = null; diff --git a/src/Pure/Exception/VirgilCloudStorageException.php b/src/Pure/Exception/VirgilCloudStorageException.php index f5d16c3..8965e6e 100644 --- a/src/Pure/Exception/VirgilCloudStorageException.php +++ b/src/Pure/Exception/VirgilCloudStorageException.php @@ -58,6 +58,8 @@ class VirgilCloudStorageException extends PureStorageException */ public function __construct($e) { + parent::__construct($e); + $this->protocolException = null; $this->protocolHttpException = null;