mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
ID115: log IO exceptions
This commit is contained in:
parent
fe9ec9b88a
commit
a94e0b9463
@ -93,6 +93,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
setTime(builder);
|
setTime(builder);
|
||||||
performConnected(builder.getTransaction());
|
performConnected(builder.getTransaction());
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
|
LOG.warn("Unable to send current time", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -368,6 +369,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
});
|
});
|
||||||
performConnected(builder.getTransaction());
|
performConnected(builder.getTransaction());
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
|
LOG.warn("Unable to stop call notification", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -420,6 +422,7 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
builder.write(normalWriteCharacteristic, cmd);
|
builder.write(normalWriteCharacteristic, cmd);
|
||||||
performConnected(builder.getTransaction());
|
performConnected(builder.getTransaction());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
LOG.warn("Unable to send notification chunk", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user