Pebble: LOG stacktrace when connection fails
This commit is contained in:
parent
9ea4b8ae43
commit
b25febf0e5
|
@ -156,7 +156,7 @@ class PebbleIoThread extends GBDeviceIoThread {
|
|||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
LOG.warn("error while connecting: " + e.getMessage(), e);
|
||||
gbDevice.setState(originalState);
|
||||
gbDevice.sendDeviceUpdateIntent(getContext());
|
||||
|
||||
|
|
Loading…
Reference in New Issue