From eb40b888f2f6553604ef41df9cc0e5db26f8c70e Mon Sep 17 00:00:00 2001 From: Joonhaeng Heo Date: Mon, 23 Dec 2024 08:03:41 +0900 Subject: [PATCH] Update VerifyOrExit --- src/controller/java/AndroidLogDownloadFromNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/java/AndroidLogDownloadFromNode.cpp b/src/controller/java/AndroidLogDownloadFromNode.cpp index 5e9c43940d9bb0..667d47c8cba2ce 100644 --- a/src/controller/java/AndroidLogDownloadFromNode.cpp +++ b/src/controller/java/AndroidLogDownloadFromNode.cpp @@ -213,7 +213,7 @@ void AndroidLogDownloadFromNode::FinishLogDownloadFromNode(void * context, CHIP_ jint jFabricIndex = self->mController->GetFabricIndex(); jlong jremoteNodeId = self->mRemoteNodeId; - VerifyOrExit(env != nullptr, CHIP_ERROR_INCORRECT_STATE); + VerifyOrExit(env != nullptr, ChipLogError(Test, "Could not get JNIEnv for current thread")); if (err == CHIP_NO_ERROR) {