lib/splash/transports.rb in prometheus-splash-0.3.0 vs lib/splash/transports.rb in prometheus-splash-0.4.0
- old
+ new
@@ -14,11 +14,11 @@
end
aclass = "Splash::Transports::#{transport.capitalize}::Subscriber"
begin
return Kernel.const_get(aclass)::new(options)
rescue
- return { :case => :configuration_error, :more => "Transport specified for queue #{options[:queue]} inexistant : #{transport}"}
+ return { :case => :configuration_error, :more => "Transport specified for queue #{options[:queue]} configuration error : #{transport}"}
end
end
def get_default_client
config = get_config.transports
@@ -30,10 +30,10 @@
end
aclass = "Splash::Transports::#{transport.to_s.capitalize}::Client"
begin
return Kernel.const_get(aclass)::new
rescue
- return { :case => :configuration_error, :more => "Transport specified inexistant : #{transport}"}
+ return { :case => :configuration_error, :more => "Transport configuration error : #{transport}"}
end
end
end
end