diff --git a/dsc_lib/src/parser/expressions.rs b/dsc_lib/src/parser/expressions.rs index 817c187ff..d6058cba8 100644 --- a/dsc_lib/src/parser/expressions.rs +++ b/dsc_lib/src/parser/expressions.rs @@ -113,7 +113,9 @@ impl Expression { /// This function will return an error if the expression fails to execute. pub fn invoke(&self, function_dispatcher: &FunctionDispatcher, context: &Context) -> Result { let result = self.function.invoke(function_dispatcher, context)?; - trace!("{}", t!("parser.expression.functionResult", result = result : {:?})); + // TODO: check if `secret()` function and don't emit result + let result_json = serde_json::to_string(&result)?; + trace!("{}", t!("parser.expression.functionResult", results = result_json)); if self.accessors.is_empty() { Ok(result) }