Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] Fix error on cart items not existing #707

Merged
merged 3 commits into from
Jan 21, 2025
Merged

[2.x] Fix error on cart items not existing #707

merged 3 commits into from
Jan 21, 2025

Conversation

Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Jan 20, 2025

The code here assumes that items on the cart object always exists. However, as is evident from our Sentry logs, this is not always the case. In certain situations, customers may for example end up inside of the cart with an empty cart object.

With this PR I've fixed the specific errors that we've come across in our Sentry logs.

@royduin royduin merged commit dc4fefb into 2.x Jan 21, 2025
15 checks passed
@royduin royduin deleted the bugfix/cart-error branch January 21, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants