From d9a5c5008ff78de6a3dba15ab2562459745bbd4f Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Fri, 17 May 2024 14:11:15 +0200 Subject: [PATCH] Fix compilation with functions instrumentation --- src/app/CommandHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/CommandHandler.cpp b/src/app/CommandHandler.cpp index 89ff52f9669d2e..86ef22ab886212 100644 --- a/src/app/CommandHandler.cpp +++ b/src/app/CommandHandler.cpp @@ -944,7 +944,8 @@ CHIP_ERROR TestOnlyExtractCommandPathFromNextInvokeRequest(TLV::TLVReader & invo case CommandHandler::NlFaultInjectionType::SkipSecondResponse: return "Single InvokeResponseMessages. Dropping response to second request"; } - VerifyOrDieWithMsg(false, DataManagement, "TH Failure: Unexpected fault type"); + ChipLogError(DataManagement, "TH Failure: Unexpected fault type"); + chipAbort(); } } // anonymous namespace