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); } }