From 195e721fbb0f141a0659dbf0059fa7cb3a15a012 Mon Sep 17 00:00:00 2001 From: Matej Baco Date: Tue, 21 Dec 2021 11:42:58 +0100 Subject: [PATCH] Removed debug code --- app/http.php | 3 --- 1 file changed, 3 deletions(-) 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. */