Actually add the logging
This commit is contained in:
parent
be8d37d4cb
commit
6f23c71773
@ -20,7 +20,7 @@ $params = new ResizeParams($_GET);
|
|||||||
$resizer = new Resizer($imageDb, $logger);
|
$resizer = new Resizer($imageDb, $logger);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$resizer->performResize($imgPath, $params);
|
echo $resizer->performResize($imgPath, $params);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$logger->error($e->getMessage());
|
$logger->error($e->getMessage());
|
||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
|
Loading…
Reference in New Issue
Block a user