From 81ac48afbf2bd41afc5b0089836feabe0c25d68c Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Thu, 13 Nov 2025 14:55:28 -0300 Subject: [PATCH] Missing exception history --- app/src/Service/Venta/Pago.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/Service/Venta/Pago.php b/app/src/Service/Venta/Pago.php index 3ddc4bc..388b212 100644 --- a/app/src/Service/Venta/Pago.php +++ b/app/src/Service/Venta/Pago.php @@ -116,8 +116,8 @@ class Pago extends Ideal\Service\Repository try { $pago = $this->pagoRepository->fetchById($pago_id); return $this->process($pago); - } catch (EmptyResult) { - throw new Read(__CLASS__); + } catch (EmptyResult $exception) { + throw new Read(__CLASS__, $exception); } }