From c92b07ee6f3b8e7f203130a3e8f6b9fd9d95d87c Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Wed, 30 Apr 2025 17:13:26 -0400 Subject: [PATCH] Excepcion correcta --- app/src/Controller/API/Ventas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }