feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
240 changed files with 845 additions and 10463 deletions
Showing only changes of commit 7d8e2249de - Show all commits

View File

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

View File

@ -280,7 +280,7 @@ class Cartola extends Service
try {
return $this->movimientoRepository->save($movimiento);
} catch (PDOException $exception) {
$this->logger->critical(var_export($data,true));
$this->logger->critical($exception, ['data' => $data]);
throw $exception;
}
}