From d29b17b28b788b1ec7df0cb689abd8db08df4966 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 16 Jun 2016 17:09:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Handle=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/exception/Handle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }