Skip to content

chore: handle malformed builder data gracefully - #36

Merged
github-actions[bot] merged 1 commit into
mainfrom
cursor/small-meaningful-improvement-aabf
Jun 1, 2026
Merged

chore: handle malformed builder data gracefully#36
github-actions[bot] merged 1 commit into
mainfrom
cursor/small-meaningful-improvement-aabf

Conversation

@cursor

@cursor cursor Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a safe parser for serialized product builder data on product detail pages.
  • Fall back gracefully when malformed builder JSON is encountered instead of throwing during render.

Why it matters

This keeps product detail pages available even if a denormalized builder payload is unexpectedly malformed.

Verification

  • npx eslint "src/app/p/[id]/page.tsx"
Open in Web View Automation 

Co-authored-by: Sahar <SaharPak@users.noreply.github.com>
@github-actions
github-actions Bot marked this pull request as ready for review June 1, 2026 10:05
@github-actions
github-actions Bot merged commit 3f6f2a1 into main Jun 1, 2026
1 check passed
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.

1 participant