Flowdock
method

invoke

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Worker
invoke(receiver, method, *args, connection:, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/server/worker.rb, line 58
      def invoke(receiver, method, *args, connection,, &block)
        work(connection) do
          receiver.send method, *args, &block
        rescue Exception => e
          logger.error "There was an exception - #{e.class}(#{e.message})"
          logger.error e.backtrace.join("\n")

          receiver.handle_exception if receiver.respond_to?(:handle_exception)
        end
      end
Register or log in to add new notes.