Excepcion correcta

This commit is contained in:
Juan Pablo Vial
2025-04-30 17:13:26 -04:00
parent ee6956d417
commit c92b07ee6f

View File

@ -94,7 +94,7 @@ class Ventas extends Controller
$venta = $service->getById($venta_id); $venta = $service->getById($venta_id);
$output['ventas'] []= $venta; $output['ventas'] []= $venta;
$this->saveRedis($redisService, $redisKey, $venta); $this->saveRedis($redisService, $redisKey, $venta);
} catch (EmptyResult $exception) { } catch (Read $exception) {
$this->logger->notice($exception); $this->logger->notice($exception);
} }
} }