Module: ForemanChef::Concerns::HostsControllerRescuer

Defined in:
app/controllers/foreman_chef/concerns/hosts_controller_rescuer.rb

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



4
5
6
# File 'app/controllers/foreman_chef/concerns/hosts_controller_rescuer.rb', line 4

def self.prepended(base)
  base.rescue_from ForemanChef::ProxyException, :with => :chef_exception
end