From 9a9e88c6d0a1e2b7ddbca156855ce30f65e7ddc2 Mon Sep 17 00:00:00 2001 From: Cecille Freeman Date: Wed, 2 Jun 2021 16:36:26 -0400 Subject: [PATCH 1/2] Make commissionable node error more verbose --- src/controller/CHIPDeviceController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/CHIPDeviceController.cpp b/src/controller/CHIPDeviceController.cpp index e051096ebea818..293bb5ec7814fd 100644 --- a/src/controller/CHIPDeviceController.cpp +++ b/src/controller/CHIPDeviceController.cpp @@ -748,7 +748,7 @@ void DeviceController::OnCommissionableNodeFound(const chip::Mdns::Commissionabl return; } } - ChipLogError(Discovery, "Failed to add discovered commisisonable node - Insufficient space"); + ChipLogError(Discovery, "Failed to add discovered commisisonable node with hostname %s- Insufficient space", nodeData.hostName); } #endif // CHIP_DEVICE_CONFIG_ENABLE_MDNS From 195ec5f269b04c512948db8342cad2387a64394a Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Wed, 2 Jun 2021 15:11:38 -0700 Subject: [PATCH 2/2] Update src/controller/CHIPDeviceController.cpp --- src/controller/CHIPDeviceController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/CHIPDeviceController.cpp b/src/controller/CHIPDeviceController.cpp index 293bb5ec7814fd..5bf911d0d4a2cd 100644 --- a/src/controller/CHIPDeviceController.cpp +++ b/src/controller/CHIPDeviceController.cpp @@ -748,7 +748,7 @@ void DeviceController::OnCommissionableNodeFound(const chip::Mdns::Commissionabl return; } } - ChipLogError(Discovery, "Failed to add discovered commisisonable node with hostname %s- Insufficient space", nodeData.hostName); + ChipLogError(Discovery, "Failed to add discovered commissionable node with hostname %s- Insufficient space", nodeData.hostName); } #endif // CHIP_DEVICE_CONFIG_ENABLE_MDNS