-
Notifications
You must be signed in to change notification settings - Fork 45
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
pdftk exited with failure code: 1 #31
Comments
Thank you for your report. Can you provide a pull request with this fix? |
cboulanger
added a commit
that referenced
this issue
Nov 28, 2017
add a handler function for stream. fixes issue #31
Fixed by 9a0b231 |
Same issue is happening inside Command.prototype._exec function. I think you should add error handler there as well. |
Can you provide a PR? I am currently not working on scissors, but will be happy to merge fixes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have an issue with this module. my code is:
the problem is when pdftk can't open one of the files, it kills the server instance instead on throwing a safe error
I can handle this issue by adding
stream.on('error', err => console.log(err))
next to line 564The text was updated successfully, but these errors were encountered: