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

how can i catch errors? #27

Open
brandonmp opened this issue Nov 28, 2016 · 0 comments
Open

how can i catch errors? #27

brandonmp opened this issue Nov 28, 2016 · 0 comments

Comments

@brandonmp
Copy link

I notice sometimes the library emits an error message, like, premature end of JPEG file. I think the hash turns out OK, and the image looks fine upon visual inspection, but I'd still like to log these errors.

Is there a way to intercept them from the library and handle them? it looks like they just go to stdout, but I don't route my error logging etc. thru stdout, so I'm hoping to avoid having to scrape errors from the console.

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

No branches or pull requests

1 participant