Skip to content

Commit

Permalink
fixing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 30, 2024
1 parent 6d56dff commit a075b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yasmin/yasmin/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, outcomes: List[str]) -> None:

def __call__(self, blackboard: Blackboard = None) -> str:

yasmin.YASMIN_LOG_INFO(f"Executing state {self}")
yasmin.YASMIN_LOG_DEBUG(f"Executing state {self}")

self._canceled = False

Expand Down
2 changes: 1 addition & 1 deletion yasmin/yasmin/state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def execute(self, blackboard: Blackboard) -> str:
# outcome is a state
elif outcome in self._states:
yasmin.YASMIN_LOG_INFO(
f"State machine transitioning '{self.__current_state}' : {old_outcome} --> {outcome}"
f"State machine transitioning '{self.__current_state}' : '{old_outcome}' --> '{outcome}'"
)

self._call_transition_cbs(
Expand Down

0 comments on commit a075b80

Please sign in to comment.