diff --git a/app/Job/BaseJob.php b/app/Job/BaseJob.php new file mode 100644 index 0000000..323a04e --- /dev/null +++ b/app/Job/BaseJob.php @@ -0,0 +1,39 @@ + static::class, + //Скрипт, в котором произошла ошибка + 'file' => $th->getFile(), + 'line' => $th->getLine(), + ]; + \Log::channel('job_err')->error($th->getMessage(), $context); + } + +} +