diff --git a/library/think/exception/Handle.php b/library/think/exception/Handle.php index db8bd911..3b526069 100644 --- a/library/think/exception/Handle.php +++ b/library/think/exception/Handle.php @@ -103,7 +103,7 @@ class Handle $status = $e->getStatusCode(); $template = Config::get('http_exception_template'); if (!App::$debug && !empty($template[$status])) { - return Response::create($template[$status], 'view')->vars(['e' => $e])->send(); + return Response::create($template[$status], 'view')->vars(['e' => $e]); } else { return $this->convertExceptionToResponse($e); }