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

Catch all exceptions from openFile(Artwork) #589

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

ianhanniballake
Copy link
Collaborator

Instead of making the default implementation of openFile(Artwork) artificially limited to only IOExceptions and SecurityExceptions, have openFile(Artwork) throw any exception (as is common for content:// URIs).

Call onInvalidArtwork whenever a non-IOException is thrown.

Instead of making the default implementation of openFile(Artwork) artificially limited to only IOExceptions and SecurityExceptions, have openFile(Artwork) throw any exception (as is common for content:// URIs).

Call onInvalidArtwork whenever a non-IOException is thrown.
@ianhanniballake ianhanniballake added this to the api-3.1.0-alpha01 milestone Oct 25, 2018
@ianhanniballake ianhanniballake merged commit 758e509 into muzei:master Oct 25, 2018
@ianhanniballake ianhanniballake deleted the catch_exceptions branch October 25, 2018 06:44
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.

None yet

1 participant