Skip to content

Commit

Permalink
Merge pull request #10 from mlasek1991/main
Browse files Browse the repository at this point in the history
fix - request/response not initalized in construct
  • Loading branch information
rekerta authored Jun 1, 2023
2 parents 811d50e + 733165f commit 1b86b05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Exceptions/MailerLiteHttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public function __construct(
$response->getReasonPhrase()
);

$this->request = $request;
$this->response = $response;

parent::__construct($message, $response->getStatusCode());
}

Expand Down

0 comments on commit 1b86b05

Please sign in to comment.