lib/frenchy.rb in frenchy-0.0.6 vs lib/frenchy.rb in frenchy-0.0.7
- old
+ new
@@ -23,8 +23,8 @@
def self.find_service(name)
if @services.nil?
raise(Frenchy::ConfigurationError, "No services have been configured")
end
- @services[name.to_sym] || raise(Frenchy::ConfigurationError, "No service with name #{name} registered:")
+ @services[name.to_sym] || raise(Frenchy::ConfigurationError, "No service '#{name}' registered")
end
end