Missing exception history
This commit is contained in:
@ -116,8 +116,8 @@ class Pago extends Ideal\Service\Repository
|
|||||||
try {
|
try {
|
||||||
$pago = $this->pagoRepository->fetchById($pago_id);
|
$pago = $this->pagoRepository->fetchById($pago_id);
|
||||||
return $this->process($pago);
|
return $this->process($pago);
|
||||||
} catch (EmptyResult) {
|
} catch (EmptyResult $exception) {
|
||||||
throw new Read(__CLASS__);
|
throw new Read(__CLASS__, $exception);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user