改名
This commit is contained in:
@@ -48,7 +48,7 @@ class TestRequest
|
|||||||
} catch (\Throwable $throwable) {
|
} catch (\Throwable $throwable) {
|
||||||
$PsrResponse = \response()->withStatus($throwable->getCode())
|
$PsrResponse = \response()->withStatus($throwable->getCode())
|
||||||
->withContentType(\Http\Message\Response::CONTENT_TYPE_HTML)
|
->withContentType(\Http\Message\Response::CONTENT_TYPE_HTML)
|
||||||
->withBody(new Stream(jTraceEx($throwable)));
|
->withBody(new Stream(jTraceEx($throwable,null,true)));
|
||||||
} finally {
|
} finally {
|
||||||
$this->response->sender($response, $PsrResponse);
|
$this->response->sender($response, $PsrResponse);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user