app/lib/actions/base.rb in foreman-tasks-0.5.7 vs app/lib/actions/base.rb in foreman-tasks-0.6.0
- old
+ new
@@ -38,7 +38,12 @@
else
task_output.pretty_inspect
end
end
+ def humanized_error
+ execution_plan.steps_in_state(:skipped, :skipping, :error).map do |step|
+ step.error.message
+ end.join("\n")
+ end
end
end