Skip to content

Fix: Profile cover image src type handling#732

Merged
feruzm merged 1 commit into
developfrom
seer/fix/profile-cover-image-src-type-check
Apr 1, 2026
Merged

Fix: Profile cover image src type handling#732
feruzm merged 1 commit into
developfrom
seer/fix/profile-cover-image-src-type-check

Conversation

@sentry
Copy link
Copy Markdown
Contributor

@sentry sentry Bot commented Apr 1, 2026

Fixes ECENCY-NEXT-156R. The issue was that: Blockchain profile metadata's 'cover_image' field is not a string, causing .trim() to fail due to missing type validation.

  • Added a type check to ensure data.profile.cover_image is a string before calling .trim().
  • Prevents potential runtime errors if the cover image data is not a string (e.g., null or undefined).
  • Ensures the fallback image is correctly applied when cover_image is not a valid string.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 1061419

Not quite right? Click here to continue debugging with Seer.

@feruzm feruzm merged commit ec17b7f into develop Apr 1, 2026
@feruzm feruzm deleted the seer/fix/profile-cover-image-src-type-check branch April 1, 2026 10:33
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