diff --git a/lib/action_cable/process/logging.rb b/lib/action_cable/process/logging.rb new file mode 100644 index 0000000000..bcceff4bec --- /dev/null +++ b/lib/action_cable/process/logging.rb @@ -0,0 +1,6 @@ +EM.error_handler do |e| + puts "Error raised inside the event loop: #{e.message}" + puts e.backtrace.join("\n") +end + +Celluloid.logger = ActionCable.server.logger