Skip to content

Commit

Permalink
Update MonitoredScheduledTask.php to get the failed response to be st…
Browse files Browse the repository at this point in the history
…ored in db
  • Loading branch information
AKHIL-882 authored Nov 29, 2023
1 parent 682df2e commit 590badd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/MonitoredScheduledTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]);
}

Expand Down

0 comments on commit 590badd

Please sign in to comment.