diff options
Diffstat (limited to 'lib/action_cable/process/logging.rb')
-rw-r--r-- | lib/action_cable/process/logging.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/action_cable/process/logging.rb b/lib/action_cable/process/logging.rb index bcceff4bec..72b1a080d1 100644 --- a/lib/action_cable/process/logging.rb +++ b/lib/action_cable/process/logging.rb @@ -1,3 +1,7 @@ +require 'action_cable/server' +require 'eventmachine' +require 'celluloid' + EM.error_handler do |e| puts "Error raised inside the event loop: #{e.message}" puts e.backtrace.join("\n") |