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