Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
goriiin committed Dec 22, 2024
1 parent bad81a9 commit 67407cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/delivery/orders/create_order_from_cart.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *OrdersHandler) CreateOrderFromCart(w http.ResponseWriter, r *http.Reque
}

h.logger.Error("[delivery.CreateOrderFromCart] Failed to create order from cart", slog.String("error", err.Error()))
utils.WriteErrorJSONByError(w, errs.InternalServerError, h.errResolver)
utils.WriteErrorJSONByError(w, err, h.errResolver)
return
}

Expand Down

0 comments on commit 67407cb

Please sign in to comment.