Excepcion correcta
This commit is contained in:
@ -94,7 +94,7 @@ class Ventas extends Controller
|
||||
$venta = $service->getById($venta_id);
|
||||
$output['ventas'] []= $venta;
|
||||
$this->saveRedis($redisService, $redisKey, $venta);
|
||||
} catch (EmptyResult $exception) {
|
||||
} catch (Read $exception) {
|
||||
$this->logger->notice($exception);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user