FIX: Detalle en logging.

This commit is contained in:
Juan Pablo Vial
2025-06-02 17:58:24 -04:00
parent a54586e870
commit 7d8e2249de
2 changed files with 2 additions and 2 deletions

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(),