diff --git a/app/src/Controller/API/Ventas.php b/app/src/Controller/API/Ventas.php index e589962..a204f97 100644 --- a/app/src/Controller/API/Ventas.php +++ b/app/src/Controller/API/Ventas.php @@ -94,7 +94,7 @@ class Ventas extends Controller $venta = $service->getById($venta_id); $output['ventas'] []= $venta; $this->saveRedis($redisService, $redisKey, $venta); - } catch (EmptyResult $exception) { + } catch (Read $exception) { $this->logger->notice($exception); } }