"#ea4335", "title" => ":warning: Exception ", "text" => "<" . config("app.url") . "|" . config("app.name") . ">, " . date("d-m-Y h:i:s") . ' ```' . $exception->getFile() . ', ' . $exception->getLine() . ', ' . $exception->getMessage() . '```' ] ]; $jobCount = Jobs::count(); if ($jobCount < 100) { //dispatch(new SlackLogJob($param))->onQueue('slackLog'); } else { Log::error($param); } } } parent::report($exception); } /** * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @param \Exception $exception * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse */ public function render($request, Exception $exception) { return parent::render($request, $exception); } }