From a94e0b9463f34f5d7532def627b0a2dfcc1292ba Mon Sep 17 00:00:00 2001 From: Vadim Kaushan Date: Sun, 15 Jul 2018 00:46:11 +0300 Subject: [PATCH] ID115: log IO exceptions --- .../gadgetbridge/service/devices/id115/ID115Support.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/id115/ID115Support.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/id115/ID115Support.java index c3fce2e67..522365e4e 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/id115/ID115Support.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/id115/ID115Support.java @@ -93,6 +93,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport { setTime(builder); performConnected(builder.getTransaction()); } catch(IOException e) { + LOG.warn("Unable to send current time", e); } } @@ -368,6 +369,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport { }); performConnected(builder.getTransaction()); } catch(IOException e) { + LOG.warn("Unable to stop call notification", e); } } @@ -420,6 +422,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport { builder.write(normalWriteCharacteristic, cmd); performConnected(builder.getTransaction()); } catch (IOException e) { + LOG.warn("Unable to send notification chunk", e); } }