Actually add the logging

This commit is contained in:
Lewis Dale 2023-08-26 19:12:29 +01:00
parent be8d37d4cb
commit 6f23c71773

View File

@ -20,7 +20,7 @@ $params = new ResizeParams($_GET);
$resizer = new Resizer($imageDb, $logger);
try {
$resizer->performResize($imgPath, $params);
echo $resizer->performResize($imgPath, $params);
} catch (\Exception $e) {
$logger->error($e->getMessage());
http_response_code(500);