From 77a3819272e2d272444d6ec25a58c91972289dd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 18 Sep 2021 10:42:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-handler/TestRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-handler/TestRequest.php b/http-handler/TestRequest.php index 577fb750..ebd90dc6 100644 --- a/http-handler/TestRequest.php +++ b/http-handler/TestRequest.php @@ -48,7 +48,7 @@ class TestRequest } catch (\Throwable $throwable) { $PsrResponse = \response()->withStatus($throwable->getCode()) ->withContentType(\Http\Message\Response::CONTENT_TYPE_HTML) - ->withBody(new Stream(jTraceEx($throwable))); + ->withBody(new Stream(jTraceEx($throwable,null,true))); } finally { $this->response->sender($response, $PsrResponse); }