mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-29 12:05:53 +01:00
Pebble: log some errors during JSON encoding/decoding
This commit is contained in:
parent
6a8700201f
commit
d25da96804
@ -85,7 +85,7 @@ class PebbleKitSupport {
|
||||
sendAppMessageAck(transaction_id);
|
||||
// }
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
LOG.error("failed decoding JSON", e);
|
||||
}
|
||||
break;
|
||||
case PEBBLEKIT_ACTION_APP_ACK:
|
||||
|
@ -2023,6 +2023,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
||||
break;
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
LOG.error("error decoding JSON", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user