openlabs / docker-wkhtmltopdf-aas

wkhtmltopdf in a docker container as a web service.
BSD 3-Clause "New" or "Revised" License
99 stars 94 forks source link

Adding ability to ignore error codes #21

Open fiveohhh opened 8 years ago

fiveohhh commented 8 years ago

wkhtmltopdf can return error codes whilst the pdf is still properly generated. This can happen if wkhtmltopdf receives an http error while retrieving a link.

https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1877

This allows you to pass an to ignore any error codes that wkhtmltopdf returns. The default behavior is still to not ignore them.