more helpful installer exception

This commit is contained in:
Shish 2020-01-27 19:37:28 +00:00
parent 7080f8bc2a
commit d254b98780

View file

@ -34,7 +34,7 @@ class InstallerException extends RuntimeException
public function __construct(string $title, string $body, int $code) public function __construct(string $title, string $body, int $code)
{ {
parent::__construct($title); parent::__construct($body);
$this->title = $title; $this->title = $title;
$this->body = $body; $this->body = $body;
$this->code = $code; $this->code = $code;