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) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
LOG.warn("error while connecting: " + e.getMessage(), e);
|
||||||
gbDevice.setState(originalState);
|
gbDevice.setState(originalState);
|
||||||
gbDevice.sendDeviceUpdateIntent(getContext());
|
gbDevice.sendDeviceUpdateIntent(getContext());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue