JobDebug notification are error by default
This commit is contained in:
@ -14,7 +14,7 @@ class JobDebugNotification extends Notification {
|
|||||||
private string|null $title;
|
private string|null $title;
|
||||||
private string|null $screenShotProjectPath;
|
private string|null $screenShotProjectPath;
|
||||||
|
|
||||||
public function __construct(int $jobId, string $body, string $title = null, string $error = null, ?string $screenshotProjectPath = "", bool $isError = false) {
|
public function __construct(int $jobId, string $body, string $title = null, string $error = null, ?string $screenshotProjectPath = "", bool $isError = true) {
|
||||||
parent::__construct($jobId, isError:$isError);
|
parent::__construct($jobId, isError:$isError);
|
||||||
$this->title = $title;
|
$this->title = $title;
|
||||||
if ($screenshotProjectPath === "") {
|
if ($screenshotProjectPath === "") {
|
||||||
|
Reference in New Issue
Block a user