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

fix: Don't crash on Android if data source throws Exception (feat/exoplayer) #7

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

rovo89
Copy link

@rovo89 rovo89 commented Jan 10, 2025

See immich-app/immich#15230 (comment). So far, only java.lang.Error was caught, but HttpDataSource.InvalidResponseCodeException is a java.lang.Exception.

See immich-app/immich#15230 (comment).
So far, only java.lang.Error was caught, but
HttpDataSource.InvalidResponseCodeException is a java.lang.Exception.
Copy link

@mertalev mertalev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch!

@mertalev mertalev merged commit f3896eb into immich-app:feat/exoplayer Jan 10, 2025
@rovo89
Copy link
Author

rovo89 commented Jan 10, 2025

I'll send another one for the main branch. This is for your PR to upstream, and it happened to be the one referenced from the main project.

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.

2 participants