lib/twirp_rails/routes.rb in twirp_rails-0.4.3 vs lib/twirp_rails/routes.rb in twirp_rails-0.4.4

- old
+ new

@@ -23,10 +23,10 @@ handler ||= "#{name}_handler".camelize.constantize else raise 'twirp service name required' end - service = service_class.new(handler.new) + service = service_class.new(ErrorHandlingFactory.wrap_handler(handler.new)) Helper.run_create_hooks service if scope scope scope do mount service, at: service.full_name