Skip to content

add catch for image load failure - #796

Merged
SharonStrats merged 2 commits into
stagingfrom
image-error
Nov 6, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
image-error

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues with the image-loading failure-handling change.

No open issues 🎉

What changed in this PR

Adds failure handling to the image pane’s loading promise chain so rejected requests are caught.

Changes:

  • Sets the image’s alternative text to “Unable to load image” on failure.
  • Logs a warning with the error details.
File Description
src/​imagePane.ts Adds a catch handler to provide fallback text and log image-loading errors.

Review effort: Balanced

…@5.0.2-6 pane-registry@5.0.2-2 folder-pane@4.0.1-1 profile-pane@4.1.0-0 source-pane@4.0.1-0) (latest: rdflib@2.4.1 activitystreams-pane@2.0.0 chat-pane@4.0.0 contacts-pane@4.0.0 issue-pane@4.0.0 meeting-pane@4.0.0)
@SharonStrats
SharonStrats merged commit 31fa863 into staging Nov 6, 2026
8 checks passed
@SharonStrats
SharonStrats deleted the image-error branch November 6, 2026 00:56
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants