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