Closed (fixed)
Project:
Printer, email and PDF versions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2013 at 13:30 UTC
Updated:
25 Jul 2013 at 17:51 UTC
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