Hi,
When something is wrong with calling external binary to render PDF and the command gives no output on standard error it would be very helpful to give admin a hint what exactly command it was.
Could someone with repo write access change one line in print/print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.pages.inc
From:
$error = 'No stderr output available.';
To:
$error = 'No stderr output available. Command was: ' . $cmd;
Comments
Comment #1
jcnventuraComment #2
jcnventuraThanks for the suggestion. The whole watchdog message was a bit off. I now include the $cmd in the message even if it returned an error.
http://drupalcode.org/project/print.git/commit/abb5934