Project

General

Profile

« Previous | Next » 

Revision c67f9c5e

Added by Greg Sutcliffe almost 10 years ago

Fixes #6099 - Bubble Fog::Errors up to Host

View differences:

app/models/compute_resources/foreman/model/rackspace.rb
def create_vm args = { }
super(args)
rescue Exception => e
rescue Fog::Errors::Error => e
logger.debug "Unhandled Rackspace error: #{e.class}:#{e.message}\n " + e.backtrace.join("\n ")
errors.add(:base, e.message.to_s)
false
raise e
end
def security_groups

Also available in: Unified diff