Add logging of asciidoc/-tor errors
authorC. Hoeppler <hoeppler@gmx.net>
Thu, 13 Oct 2016 05:34:47 +0000 (07:34 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 13 Oct 2016 11:48:30 +0000 (13:48 +0200)
commit9f9b93af2c379b10d2d5c514cfe5f0658795b9bb
tree6f58838466bf2b88e74778261c00a12be8ff4242
parent998034faad2b994e9e9f785208a0f2c14dc06854
Add logging of asciidoc/-tor errors

Add logging of the errors which asciidoc and asciidoctor output to their
stderr stream when converting asciidoc documents. Note that
asciidoctor's exit code may be SUCCESS even if there are ERROR messages
in its stderr output (tested with Asciidoctor 0.1.4 and 1.5.5).
Therefore log the stderr output whenever it is non-empty.

See #2399
helpers/content.go