lib/cloudstack_client/configuration.rb in cloudstack_client-1.5.1 vs lib/cloudstack_client/configuration.rb in cloudstack_client-1.5.2

- old
+ new

@@ -15,10 +15,10 @@ message = "Can't load configuration from file '#{file}'." if configuration[:debug] message += "\nMessage: #{e.message}" message += "\nBacktrace:\n\t#{e.backtrace.join("\n\t")}" end - raise message + raise ConfigurationError, message end if env ||= config[:default] unless config = config[env] raise ConfigurationError, "Can't find environment #{env}."