From bb0bea98c379e3667af62a02ba8150976275a216 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sat, 12 Aug 2017 16:01:05 +0200 Subject: [PATCH] Don't ignore exceptions when binding the ruffy service. --- .../main/java/de/jotomo/ruffyscripter/RuffyScripter.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java b/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java index b7729d457e..f329a71df3 100644 --- a/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java +++ b/app/src/main/java/de/jotomo/ruffyscripter/RuffyScripter.java @@ -74,11 +74,7 @@ public class RuffyScripter { idleDisconnectMonitorThread.start(); } started = true; - try { - newService.addHandler(mHandler); - } catch (Exception e) { - // ignore - } + newService.addHandler(mHandler); } } catch (Exception e) { throw new RuntimeException(e);