From c18cebedae0b01b4c9e6d73b738d74a7906b6888 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Mon, 25 Aug 2025 14:28:33 +0200 Subject: [PATCH] Fixed assertion error in classfilterdata() An assertion was triggered if the variable name or inline JSON failed to expand when calling classfilterdata(). Changelog: Commit Signed-off-by: Lars Erik Wik --- libpromises/evalfunction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpromises/evalfunction.c b/libpromises/evalfunction.c index 4380eb4980..c5249c3b7d 100644 --- a/libpromises/evalfunction.c +++ b/libpromises/evalfunction.c @@ -8068,8 +8068,8 @@ static FnCallResult FnCallClassFilterData( if (parent == NULL) { Log(LOG_LEVEL_VERBOSE, - "Function %s(): Expected parent element to be of container type array, found %s", - fp->name, JsonGetTypeAsString(parent)); + "Function %s(): Expected parent element to be of type data container", + fp->name); return FnFailure(); }