Skip to content

Added exception handling and logging for video service failures#15

Open
MonteCreasor wants to merge 4 commits intojuleswhite:masterfrom
MonteCreasor:master
Open

Added exception handling and logging for video service failures#15
MonteCreasor wants to merge 4 commits intojuleswhite:masterfrom
MonteCreasor:master

Conversation

@MonteCreasor
Copy link
Contributor

In cases where the video service fails due to an exception, or when the actual connection fails, the application would terminate with an unhandled exception error. The added try/catch blocks prevent this from happening and also provide some meaningful Log.w() feedback that describe the exceptions to implementors.

Also added a fix that was causing the floating action button to not appear on the bottom right in portrait mode (on Nexus 6 / Lollipop 5.1.1). The fix was to simply not set margins when building the button. I left the .withMargins(0,0,0,0) for illustrative purposes only.

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.

1 participant