Skip to content

Commit 60ae46d

Browse files
authoredJun 13, 2024
Add success message on removing current fabric (#33914)
Readd a message with progress-level when removing the current fabric succeeded.
1 parent a3bb9c3 commit 60ae46d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/controller/CurrentFabricRemover.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ void CurrentFabricRemover::OnCommandFailure(void * context, CHIP_ERROR err)
145145

146146
void CurrentFabricRemover::FinishRemoveCurrentFabric(void * context, CHIP_ERROR err)
147147
{
148-
if (err != CHIP_NO_ERROR)
148+
if (err == CHIP_NO_ERROR)
149+
{
150+
ChipLogProgress(Controller, "Remove Current Fabric succeeded.");
151+
}
152+
else
149153
{
150154
ChipLogError(Controller, "Remove Current Fabric Failed : %" CHIP_ERROR_FORMAT, err.Format());
151155
}

0 commit comments

Comments
 (0)