mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Pebble: log some errors during JSON encoding/decoding
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
+1
@@ -2023,6 +2023,7 @@ public class PebbleProtocol extends GBDeviceProtocol {
|
||||
break;
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
LOG.error("error decoding JSON", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user