Diff between ac52a82ac05aac3b97b9a172301de8a19618c9a7 and d85acdd6ee5825a761d8832d7a305b527ff15912
Changed Files
| File | Additions | Deletions | Status |
| src/shared/gatt-client.c | +5 | -1 | modified |
Full Patch
diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 20c195a..8486b09 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -588,8 +588,12 @@ static bool discover_descs(struct discovery_op *op, bool *discovering)
chrc_data->properties,
NULL, NULL, NULL);
- if (!attr)
+ if (!attr) {
+ util_debug(client->debug_callback, client->debug_data,
+ "Failed to insert characteristic at 0x%04x",
+ chrc_data->value_handle);
goto failed;
+ }
if (gatt_db_attribute_get_handle(attr) !=
chrc_data->value_handle)