From 55403c42372a8bf079df697dff4e63f783cdde62 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 24 Jan 2016 15:20:21 -0800 Subject: Change to catch all exceptions for null reference --- .../main/java/github/daneren2005/dsub/service/ChromeCastController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') 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); } -- cgit v1.2.3