Catch error

This commit is contained in:
Juan Pablo Vial
2025-05-15 10:06:00 -04:00
parent 91ad1e39f8
commit 386fe452af

View File

@ -37,7 +37,7 @@ class Pago
$pago = $this->process($this->pagoRepository->fetchById($pago->id));
$this->getUF($pago);
return true;
} catch (PDOException) {
} catch (PDOException | EmptyResult) {
return false;
}
}