aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-01-22 04:14:03 +1030
committerMatthew Draper <matthew@trebex.net>2016-01-24 22:54:04 +1030
commit503fe757c7f5f917deab95acdcd421a1dede05c7 (patch)
tree40e3ee39aecebd0967a932e1516271c5d44c134d /actioncable/lib/action_cable
parent322dca293b3716ccaa09e7e82046e539b0d2ffda (diff)
downloadrails-503fe757c7f5f917deab95acdcd421a1dede05c7.tar.gz
rails-503fe757c7f5f917deab95acdcd421a1dede05c7.tar.bz2
rails-503fe757c7f5f917deab95acdcd421a1dede05c7.zip
Ditch the EM error logging helper
We're no longer doing our work in the EM event loop, so errors are quite unlikely, and if they do occur, they're not really our responsibility to handle.
Diffstat (limited to 'actioncable/lib/action_cable')
-rw-r--r--actioncable/lib/action_cable/process/logging.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/actioncable/lib/action_cable/process/logging.rb b/actioncable/lib/action_cable/process/logging.rb
deleted file mode 100644
index ebb8990891..0000000000
--- a/actioncable/lib/action_cable/process/logging.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'action_cable/server'
-
-if defined?(::EventMachine)
- EventMachine.error_handler do |e|
- puts "Error raised inside the event loop: #{e.message}"
- puts e.backtrace.join("\n")
- end
-end