aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-01-24 15:20:21 -0800
committerScott Jackson <daneren2005@gmail.com>2016-01-24 15:20:21 -0800
commit55403c42372a8bf079df697dff4e63f783cdde62 (patch)
treeb1f74185d20bc7df2b472ac444d8370d9c9cb616 /app/src/main/java
parentae391131cb73f08c25686bab0abb33c5e408c996 (diff)
downloaddsub-55403c42372a8bf079df697dff4e63f783cdde62.tar.gz
dsub-55403c42372a8bf079df697dff4e63f783cdde62.tar.bz2
dsub-55403c42372a8bf079df697dff4e63f783cdde62.zip
Change to catch all exceptions for null reference
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/ChromeCastController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/ChromeCastController.java b/app/src/main/java/github/daneren2005/dsub/service/ChromeCastController.java
index 670ea7d2..bc54f486 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/ChromeCastController.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/ChromeCastController.java
@@ -503,7 +503,7 @@ public class ChromeCastController extends RemoteController {
try {
Cast.CastApi.setMessageReceivedCallbacks(apiClient, mediaPlayer.getNamespace(), mediaPlayer);
- } catch (IOException e) {
+ } catch (Exception e) {
Log.e(TAG, "Exception while creating channel", e);
}