From 655895824d89e78e1bfdd5d38bcb6326bc1fe06b Mon Sep 17 00:00:00 2001 From: Astha Verma Date: Mon, 13 Jul 2026 14:44:24 +0530 Subject: [PATCH] fix(nimble): Improve logging for nv_attr allocation for gatt caching --- nimble/host/src/ble_gattc_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/src/ble_gattc_cache.c b/nimble/host/src/ble_gattc_cache.c index 153332278..6ad87cbe0 100644 --- a/nimble/host/src/ble_gattc_cache.c +++ b/nimble/host/src/ble_gattc_cache.c @@ -637,7 +637,7 @@ ble_gattc_cache_save(struct ble_gattc_cache_conn *peer, size_t num_attr) nv_attr = (struct ble_gatt_nv_attr *) nimble_platform_mem_calloc(1,num_attr * sizeof(ble_gatt_nv_attr)); if (nv_attr == NULL) { - BLE_HS_LOG(DEBUG, "Failed to allocate memory to nv_attr"); + BLE_HS_LOG(ERROR, "Failed to allocate memory to nv_attr"); return; } memset(nv_attr, 0, num_attr * sizeof(ble_gatt_nv_attr));