feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
172 changed files with 638 additions and 5666 deletions
Showing only changes of commit ace205798f - Show all commits

View File

@ -217,7 +217,8 @@ class Ventas extends Controller
$this->saveRedis($redisService, "venta:{$venta->id}", $venta);
$output['venta_id'] = $venta->id;
$output['status'] = true;
} catch (EmptyResult | PDOException $exception) {
} catch (Create | Update $exception) {
$this->logger->error($exception->getMessage());
$output['errors'] = [
'code' => $exception->getCode(),
'message' => $exception->getMessage(),