diff --git a/app/http.php b/app/http.php index 51ad499d62..6a409657df 100644 --- a/app/http.php +++ b/app/http.php @@ -101,9 +101,6 @@ $http->on('request', function (SwooleRequest $swooleRequest, SwooleResponse $swo Console::error('[Error] File: '.$th->getFile()); Console::error('[Error] Line: '.$th->getLine()); - $code = $th->getCode(); - $swooleResponse->setStatusCode($code); - /** * Reset Database connection if PDOException was thrown. */