Method: ChefApply::CLI#handle_message
- Defined in:
- lib/chef_apply/cli.rb
#handle_message(message, data, reporter) ⇒ Object
A handler for common action messages
320 321 322 323 324 325 |
# File 'lib/chef_apply/cli.rb', line 320 def (, data, reporter) if == :error # data[0] = exception # Mark the current task as failed with whatever data is available to us reporter.error(ChefApply::UI::ErrorPrinter.error_summary(data[0])) end end |