alphapapa / org-web-tools

View, capture, and archive Web pages in Org-mode
GNU General Public License v3.0
647 stars 33 forks source link

--html-to-org-with-pandoc reports error from pandoc instead of "Pandoc failed". #47

Closed c1-g closed 11 months ago

c1-g commented 3 years ago

Here is the patch that makes the process from pandoc replace the buffer string with its error message and show it throught the capture buffer.

This is intended to be used to debug #42.

alphapapa commented 2 years ago

Thanks, but this patch would leave the temp file on disk. You should probably use unwind-protect.

c1-g commented 1 year ago

@alphapapa Hi, I added unwind-protect like you requested. Sorry I took so long to reply.

alphapapa commented 11 months ago

Thanks for your patience. I squashed, rebased, updated the changelog, and merged.