From 982f4ca7a7ef7f645040abb0edb3fe8b86ac1f68 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Wed, 4 Jun 2025 16:23:56 +0200 Subject: [PATCH] JobDebug notification are error by default --- app/Notification/Notifications/JobDebugNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notification/Notifications/JobDebugNotification.php b/app/Notification/Notifications/JobDebugNotification.php index f7d53fa..58bce75 100644 --- a/app/Notification/Notifications/JobDebugNotification.php +++ b/app/Notification/Notifications/JobDebugNotification.php @@ -14,7 +14,7 @@ class JobDebugNotification extends Notification { private string|null $title; 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); $this->title = $title; if ($screenshotProjectPath === "") {