完善think\exception\Handle类

This commit is contained in:
yunwuxin
2016-06-21 12:29:28 +08:00
parent 1cb77502a0
commit 4908633e05

View File

@@ -165,7 +165,7 @@ class Handle
if ($exception instanceof HttpException) { if ($exception instanceof HttpException) {
$statusCode = $exception->getStatusCode(); $statusCode = $exception->getStatusCode();
//TODO 设置headers 等待response完善 $response->header($exception->getHeaders());
} }
if (!isset($statusCode)) { if (!isset($statusCode)) {