Compare commits

...

2 Commits

Author SHA1 Message Date
7210b24aa3
Merge pull request 'log erros that were already caught' (#28) from feature/error-log into master
All checks were successful
soko-web/pipeline/head This commit looks good
Reviewed-on: #28
2023-09-27 00:26:55 +02:00
2d48f20aed
log erros that were already caught
All checks were successful
soko-web/pipeline/pr-master This commit looks good
2023-09-27 00:04:26 +02:00

View File

@ -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;
}