view('errors.500', [], 500); return $this->toIlluminateResponse($response,$exception); } return parent::render($request, $exception); } }