Catch error
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user