Pebble: LOG stacktrace when connection fails

master
Andreas Shimokawa 2017-08-12 00:18:15 +02:00
parent 9ea4b8ae43
commit b25febf0e5
1 changed files with 1 additions and 1 deletions

View File

@ -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());