From 4021a83dde478d44886ca0549a2da0f63b538f2d Mon Sep 17 00:00:00 2001 From: Xuan Date: Sat, 13 Jan 2024 16:03:04 -0500 Subject: [PATCH] Add missing newline to error message. --- src/interpreter/execute.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/execute.jl b/src/interpreter/execute.jl index c18f241..f18c8af 100644 --- a/src/interpreter/execute.jl +++ b/src/interpreter/execute.jl @@ -5,7 +5,7 @@ function execute(interpreter::Interpreter, if check && !available(interpreter, domain, state, action, args) if fail_mode == :no_op return state end action_str = Writer.write_formula(get_name(action), args) - error("Could not execute $action_str:" * + error("Could not execute $action_str:\n" * "Precondition $(write_pddl(get_precond(action))) does not hold.") end return execute!(interpreter, domain, copy(state), action, args; check=false)