Skip to content

orgit-topic-export: Wrap any errors as org-link-broken error - #11

Closed
Thaodan wants to merge 1 commit into
magit:mainfrom
Thaodan:export_condition_case
Closed

orgit-topic-export: Wrap any errors as org-link-broken error#11
Thaodan wants to merge 1 commit into
magit:mainfrom
Thaodan:export_condition_case

Conversation

@Thaodan

@Thaodan Thaodan commented Jul 15, 2026

Copy link
Copy Markdown

This enables handling of org-export-with-broken-links and gracefully
fail any error.

This enables handling of `org-export-with-broken-links` and gracefully
fail any error.
@tarsius tarsius closed this in f812864 Jul 17, 2026
@tarsius

tarsius commented Jul 17, 2026

Copy link
Copy Markdown
Member

You didn't say what error you got, but I assume forge-get-url was called on nil, because forge-get-topic was called with an id that doesn't exist in the local database anymore. My commit addresses that issue more cleanly and signals the error the same way that is being done in Org.

@Thaodan

Thaodan commented Jul 17, 2026 via email

Copy link
Copy Markdown
Author

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.

2 participants