Skip to content

how can i catch errors? #27

Description

@brandonmp

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions