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 #8

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.
@rovo89
Copy link
Author

rovo89 commented Jan 10, 2025

OK, this is for the main branch now. I assume you'll want to adjust the ref in pubspec.yaml to the main branch afterwards: https://github.com/immich-app/immich/blob/cc6a8b0c74a9e16e9697eee967b86a80ea9a3b36/mobile/pubspec.yaml#L68

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