Skip to content

Strengthen Attempts to Load Canvas #417

@thehabes

Description

@thehabes

Canvas URIs are fetched without adequate error handling. These could cause silent failures or crashes when Canvas URIs don't resolve.

Common Issues Across Files

  • No response.ok validation before calling .json()
  • vault.get() calls not wrapped in try/catch
  • Silent failures - users see broken images with no explanation
  • No error logging for debugging production issues

More Info

Manifest, Canvas, and Image Relationship Documentation

TPEN3 API Documentation
https://dev.api.t-pen.org/API.html

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions