Catch error
This commit is contained in:
@ -37,7 +37,7 @@ class Pago
|
|||||||
$pago = $this->process($this->pagoRepository->fetchById($pago->id));
|
$pago = $this->process($this->pagoRepository->fetchById($pago->id));
|
||||||
$this->getUF($pago);
|
$this->getUF($pago);
|
||||||
return true;
|
return true;
|
||||||
} catch (PDOException) {
|
} catch (PDOException | EmptyResult) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user