From 28600a0647660b230ce3c1fc94bd06934a659412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 26 Sep 2023 23:04:24 +0200 Subject: [PATCH] log erros into file --- src/Response/HttpResponse.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Response/HttpResponse.php b/src/Response/HttpResponse.php index 6865e53..307a956 100644 --- a/src/Response/HttpResponse.php +++ b/src/Response/HttpResponse.php @@ -94,6 +94,7 @@ class HttpResponse $response = call_user_func([$controller, $handler[1]]); } catch (Exception $exception) { $this->dbConnection->rollback(); + error_log($exception); $this->render500($exception); return; }