aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/lib/action_cable/process/logging.rb
blob: dce637b3ca861b12a35ef1b964d5aec2471ed5e0 (plain) (tree)
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