Skip to content

Error handling: Generate error report for failed pages when parsing/rendering a section #21

@msiemens

Description

@msiemens

Problem

Currently, if a page within a OneNote section fails to parse or render, the entire section processing can fail. This makes it difficult to identify which pages are problematic and leads to a poor user experience.

Proposed Solution

Implement finer-grained error handling so that:

  • If an error occurs while parsing or rendering a page, an error is recorded for that individual page.
  • The process continues with the remaining pages in the section.
  • At the end of import/parse, produce an error report listing all pages that failed and a summary of error types.
  • The report should make it easy for users to identify and manually recover/inspect failed pages.

Motivation

  • Improves import robustness by isolating problematic pages, rather than aborting on a single failure.
  • Provides clear diagnostics for downstream users (e.g., Joplin) and contributors.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions