You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But because wkhtmltopdf output on stderr, it's maybe useless to have both options enabled at the same time.
And even if it was not the case, PTY.spawn does not differentiate stdin from stderr
Expected or desired behavior
Definitely not a big problem, I don't know what could be a good behavior. I let you choose what to do with that !
System specifications
not needed
The text was updated successfully, but these errors were encountered:
You can change this by specifying the log_level: 'error' option, which was introduced here: #834
This should change it so that it only outputs to stderr on actual errors. However, I wonder if this should be the default since we always output a tempfile in this project.
Try adding that to your config and see if that helps for your situation.
Thanks for the quick reply.
It's not identical to 861. Sorry maybe I should have mentioned that.
There is an actual exception on the line I linked in the description when both option are enabled, independently of wkhtmltopdf.
The rest of the description is more an observation about the usefulness of the two options at the same time.
Issue description
When both option are enabled, there is an exception because err is nil.
wicked_pdf/lib/wicked_pdf.rb
Line 75 in ced04ac
But because wkhtmltopdf output on stderr, it's maybe useless to have both options enabled at the same time.
And even if it was not the case, PTY.spawn does not differentiate stdin from stderr
Expected or desired behavior
Definitely not a big problem, I don't know what could be a good behavior. I let you choose what to do with that !
System specifications
not needed
The text was updated successfully, but these errors were encountered: