-
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
Error Handling if Pdf path is not Found #25
Comments
|
@janschmutz Thanks for the report. @tcr : in https://github.com/tcr/scissors/blob/master/scissors.js#L118 seqq., I see that errors thrown by non-existing files will be caught and ignored (it returns |
Thank you, |
Any updates on this issue? |
@tcr, in case you didn't see the question before - can you have a quick look, would make things easier to solve: in https://github.com/tcr/scissors/blob/master/scissors.js#L118 seqq., I see that errors thrown by non-existing files will be caught and ignored (it returns |
My best guess at what this code was doing (and this might be just a guess) was the following:
If I'm correct about the above, an easy fix would be to change the function signature to |
Hi, how can I handle Errors, if the Pdf Input Path was not found?. I'd like to use the 'error' event, to handle the error. But instead it throws me this error:
'throw er; // Unhandled stream error in pipe.'
The text was updated successfully, but these errors were encountered: