This commit is contained in:
2021-09-18 11:46:12 +08:00
parent 9249ad3039
commit c5afc4647e
+1 -1
View File
@@ -68,7 +68,7 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect
->withContentType(\Http\Message\Response::CONTENT_TYPE_HTML)
->withBody(new Stream(jTraceEx($throwable, null, true)));
} finally {
$this->response->sender($response, $PsrResponse);
$this->responseEmitter->sender($response, $PsrResponse);
}
}