Skip to content

Commit

Permalink
Add missing newline to error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ztangent committed Jan 13, 2024
1 parent 381722b commit 4021a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/execute.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4021a83

Please sign in to comment.