Skip to content

Commit

Permalink
Call parent for exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeySeroshtan committed Apr 28, 2024
1 parent 4522727 commit 93ebaa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Pure/Exception/ClientException.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class ClientException extends PureException
*/
public function __construct(\Exception $exception)
{
parent::__construct($e);

$this->protocolException = null;
$this->protocolHttpException = null;

Expand Down
2 changes: 2 additions & 0 deletions src/Pure/Exception/VirgilCloudStorageException.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class VirgilCloudStorageException extends PureStorageException
*/
public function __construct($e)
{
parent::__construct($e);

$this->protocolException = null;
$this->protocolHttpException = null;

Expand Down

0 comments on commit 93ebaa8

Please sign in to comment.