From 2ac8df73669f6b483985d7fc7037e6033081179c Mon Sep 17 00:00:00 2001 From: Robert Tang-Kong <35379409+tangkong@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:37:42 -0800 Subject: [PATCH] DOC: Use the intended value for the caput logging message Co-authored-by: Zachary Lentz --- beams/tree_config/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beams/tree_config/action.py b/beams/tree_config/action.py index 012dff7..7ab88c4 100644 --- a/beams/tree_config/action.py +++ b/beams/tree_config/action.py @@ -37,7 +37,7 @@ def work_func(comp_condition: Evaluatable) -> py_trees.common.Status: # specific caput logic to SetPVActionItem caput(self.pv, self.value) - logger.debug(f" <<-- ({self.name}): caput({self.pv}, {value})") + logger.debug(f" <<-- ({self.name}): caput({self.pv}, {self.value})") return py_trees.common.Status.RUNNING except Exception as ex: logger.warning(f" <<-- ({self.name}): work failed, {ex}")