Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing standard error if the wkhtml has returned an error code #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

srjpn
Copy link

@srjpn srjpn commented Oct 29, 2018

The log is captured in the standard error stream of the process and the same if thrown back if the process returns an exit code other than 0 or 2.

The error can be some failed to fetch URL errors or some other errors in while generation if PDF.

The javascript error is captured as warnings in standard error stream.

@webgio
Copy link
Owner

webgio commented Nov 17, 2018

Hey Sooraj, could you please explain better what are you fixing? Would have been nice if you provided a test. Could you provide a example case/scenario? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants