Don't ignore exceptions when binding the ruffy service.

This commit is contained in:
Johannes Mockenhaupt 2017-08-12 16:01:05 +02:00
parent ead8508760
commit bb0bea98c3
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -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);