From 590baddd7544eb8a97b09e685d754a6efb675e8d Mon Sep 17 00:00:00 2001 From: Duggirala Akhil <51040667+AKHIL-882@users.noreply.github.com> Date: Wed, 29 Nov 2023 11:53:14 +0530 Subject: [PATCH] Update MonitoredScheduledTask.php to get the failed response to be stored in db --- src/Models/MonitoredScheduledTask.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Models/MonitoredScheduledTask.php b/src/Models/MonitoredScheduledTask.php index a7b48cf..c18f030 100644 --- a/src/Models/MonitoredScheduledTask.php +++ b/src/Models/MonitoredScheduledTask.php @@ -154,6 +154,7 @@ public function markAsFailed($event): self 'runtime' => $event->runtime, 'exit_code' => $event->task->exitCode, 'memory' => memory_get_usage(true), + 'output' => $this->getEventTaskOutput($event), ]); }