asciidoctor / asciidoctor-diagram

:left_right_arrow: Asciidoctor diagram extension, with support for AsciiToSVG, BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag), Ditaa, Erd, GraphViz, Mermaid, Msc, PlantUML, Shaape, SvgBob, Syntrax, UMLet, Vega, Vega-Lite and WaveDrom.
http://asciidoctor.org
MIT License
435 stars 106 forks source link

handle errors in converters when wrapping the source #358

Closed ahus1 closed 3 years ago

ahus1 commented 3 years ago

This moves wrap_source() inside the begin/rescue block so that exceptions can be shown in the additional source block in the rendered document.

fix #355

ahus1 commented 3 years ago

Linux and Windows tests worked well, the macOS tests were broken before already. Therefore I plead "not guilty" and ask for a review.

Thanks!