Method: ChefApply::UI::ErrorPrinter#format_train_exception

Defined in:
lib/chef_apply/ui/error_printer.rb

#format_train_exceptionObject

TODO this gets moved to trainerrormapper or simply removed since

many of these issues are now handled in the RemoteTarget::ConnectionFailure


203
204
205
206
207
208
209
210
# File 'lib/chef_apply/ui/error_printer.rb', line 203

def format_train_exception
  backend, host = formatted_host
  if host.nil?
    t.CHEFTRN002.text(exception.message)
  else
    t.CHEFTRN001.text(backend, host, exception.message)
  end
end