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 exceptions in ProcessMvxIntentResult and log #3039

Merged
merged 1 commit into from Jul 27, 2018

Conversation

Cheesebaron
Copy link
Member

Currently we have no way of surfacing a exception thrown
in ProcessMvxIntentResult, since this is called as part of
Activity.OnActivityResult. Throwing in ProcessMvxIntentResult
will lead to an application crash.
For now we just catch the exception and log it.

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

⤵️ What is the current behavior?

App crashes if exception is thrown in ProcessMvxIntentResult

🆕 What is the new behavior (if this is a feature change)?

No crash

💥 Does this PR introduce a breaking change?

No

🐛 Recommendations for testing

📝 Links to relevant issues/docs

Partially fixes #2134

🤔 Checklist before submitting

Currently we have no way of surfacing a exception thrown
in ProcessMvxIntentResult, since this is called as part of
Activity.OnActivityResult. Throwing in ProcessMvxIntentResult
will lead to an application crash.
For now we just catch the exception and log it.
@martijn00 martijn00 added this to the 6.2.0 milestone Jul 26, 2018
@martijn00 martijn00 merged commit a6a17a6 into develop Jul 27, 2018
@martijn00 martijn00 deleted the bugfix/2134-picturechooser-crash branch January 8, 2019 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Android PictureChooser may crash when no network connection.
2 participants