diff --git a/src/Http/Controllers/FailedJobsController.php b/src/Http/Controllers/FailedJobsController.php index e3a74383..4fd1500e 100644 --- a/src/Http/Controllers/FailedJobsController.php +++ b/src/Http/Controllers/FailedJobsController.php @@ -119,7 +119,7 @@ protected function decode($job) $job->context = json_decode($job->context); - $job->retried_by = collect(json_decode($job->retried_by)) + $job->retried_by = collect(! is_null($job->retried_by) ? json_decode($job->retried_by) : []) ->sortByDesc('retried_at')->values(); return $job;