log erros that were already caught #28

Merged
bence merged 1 commits from feature/error-log into master 2023-09-27 00:26:55 +02:00

View File

@ -94,6 +94,7 @@ class HttpResponse
$response = call_user_func([$controller, $handler[1]]); $response = call_user_func([$controller, $handler[1]]);
} catch (Exception $exception) { } catch (Exception $exception) {
$this->dbConnection->rollback(); $this->dbConnection->rollback();
error_log($exception);
$this->render500($exception); $this->render500($exception);
return; return;
} }