1 2 3 4 5 6 7
require 'action_cable/server' require 'eventmachine' EM.error_handler do |e| puts "Error raised inside the event loop: #{e.message}" puts e.backtrace.join("\n") end