diff --git a/lib/tfw/fsm_base.py b/lib/tfw/fsm_base.py index 3cc2af5..7ae8157 100644 --- a/lib/tfw/fsm_base.py +++ b/lib/tfw/fsm_base.py @@ -62,5 +62,7 @@ class FSMBase(Machine, CallbackMixin): try: self.trigger(trigger) self.trigger_history.append(trigger) + return True except (AttributeError, MachineError): LOG.debug('FSM failed to execute nonexistent trigger: "%s"', trigger) + return False