Missing exception history

This commit is contained in:
Juan Pablo Vial
2025-11-13 14:55:28 -03:00
parent 54969eeeab
commit 81ac48afbf

View File

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