quarto-dev / quarto-dev/quarto-cli
Offer better error messages when calls to pandoc API fails
Open
@cscheid is already working on this.
Since Jul 14, 2023.
enhancement
pandoc
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
We should consider a code review pass over our Lua filters to send all calls to the pandoc API through pcall, like we did in https://github.com/quarto-dev/quarto-cli/pull/6211 for run_json_filter.
In quarto we often can provide a more informative error message than the hard failure which Pandoc tends to produce.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.