#15123·saleor

Bug: Reduce repr for checkoutInfo & checkoutLineInfo

Author: korycinsCreated Dec 26, 2023Updated Aug 1, 2026
Labelsbuggood first issuecheckout

What are you trying to achieve?

The current form of __repr__ for checkoutInfo, checkoutLineInfo, ShippingMethodInfo, ShippingMethodData provides a lot of data. In case of any error related to checkout, the data that is passed to Sentry is reduced to the __repr__ of mentioned dataclasses. It could cause us to miss some important data on Sentry side.

Steps to reproduce the problem

Any fail that is reported to sentry.

What did you expect to happen?

I expect, that each dataclasses should have its own __repr__, with the reduced amount of data that we include there.

Logs

No response

Environment

Saleor version: 3.14+ OS and version: …