diff --git a/android/src/main/java/com/bleplx/adapter/BleException.java b/android/src/main/java/com/bleplx/adapter/BleException.java deleted file mode 100644 index 3f470b32..00000000 --- a/android/src/main/java/com/bleplx/adapter/BleException.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.bleplx.adapter; - -public interface BleException { -} diff --git a/android/src/main/java/com/bleplx/adapter/BleModule.java b/android/src/main/java/com/bleplx/adapter/BleModule.java index 4c2cf8f5..4cba8f64 100755 --- a/android/src/main/java/com/bleplx/adapter/BleModule.java +++ b/android/src/main/java/com/bleplx/adapter/BleModule.java @@ -445,6 +445,7 @@ public void isDeviceConnected(String deviceIdentifier, .equals(RxBleConnection.RxBleConnectionState.CONNECTED); onSuccessCallback.onSuccess(connected); } catch (Exception e) { + RxBleLog.e(e, "Error while checking if device is connected"); onErrorCallback.onError(errorConverter.toError(e)); } }