1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-30 16:56:22 +02:00

Pebble: LOG stacktrace when connection fails

This commit is contained in:
Andreas Shimokawa 2017-08-12 00:18:15 +02:00
parent 9ea4b8ae43
commit b25febf0e5

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