lib/stealth/dispatcher.rb in stealth-0.9.5 vs lib/stealth/dispatcher.rb in stealth-0.9.6
- old
+ new
@@ -38,10 +38,10 @@
def message_handler_klass
begin
Kernel.const_get("Stealth::Services::#{service.capitalize}::MessageHandler")
rescue NameError
- raise(Stealth::Errors::ServiceNotRecognized, "The service '#{service}' was not recognized.")
+ raise(Stealth::Errors::ServiceNotRecognized, "The service '#{service}' was not recognized")
end
end
end
end