Skip to content

Commit

Permalink
Added extra text on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Framba-Luca committed Oct 16, 2023
1 parent be235c3 commit dc3e720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unified_planning/model/walkers/state_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ def walk_fluent_exp(self, expression: "FNode", args: List["FNode"]) -> "FNode":

def walk_param_exp(self, expression: "FNode", args: List["FNode"]) -> "FNode":
raise UPProblemDefinitionError(
f"The StateEvaluator.evaluate should only be called on grounded expressions."
f"The StateEvaluator.evaluate should only be called on grounded expressions but is called on the parameter: {expression}"
)

0 comments on commit dc3e720

Please sign in to comment.