From 8bcc1f1fd183f6ae10c07048de754bf004ae111e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Gonz=C3=A1lez=20Santamarta?= Date: Sun, 7 Apr 2024 15:13:24 +0200 Subject: [PATCH] minor fix --- yasmin/yasmin/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasmin/yasmin/state.py b/yasmin/yasmin/state.py index 20e08a1..62bdda5 100644 --- a/yasmin/yasmin/state.py +++ b/yasmin/yasmin/state.py @@ -40,7 +40,7 @@ def __call__(self, blackboard: Blackboard = None) -> str: if outcome not in self._outcomes: raise Exception( - f"Outcome {outcome} does not belong to the outcomes of the state {self}. The possible outcomes are: {self._outcomes}") + f"Outcome '{outcome}' does not belong to the outcomes of the state '{self}'. The possible outcomes are: {self._outcomes}") return outcome