aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2015-04-08 15:57:31 -0500
committerPratik Naik <pratiknaik@gmail.com>2015-04-08 15:57:31 -0500
commit6789dd81bdcfbea8bba2f128f59990829439503f (patch)
tree68e467b2013d03f8ad6df13c9510fcc46f2ffdbb /lib/action_cable
parentde8390959664eaccf3453d69be5fa8ce09f97297 (diff)
downloadrails-6789dd81bdcfbea8bba2f128f59990829439503f.tar.gz
rails-6789dd81bdcfbea8bba2f128f59990829439503f.tar.bz2
rails-6789dd81bdcfbea8bba2f128f59990829439503f.zip
Fix the error logging
Diffstat (limited to 'lib/action_cable')
-rw-r--r--lib/action_cable/connection/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb
index 2e62c78bee..76d6f5da9e 100644
--- a/lib/action_cable/connection/base.rb
+++ b/lib/action_cable/connection/base.rb
@@ -126,7 +126,7 @@ module ActionCable
logger.error "[ActionCable] Unable to process message because no subscription was found (#{message.inspect})"
end
rescue Exception => e
- logger.error "[ActionCable] Could not process message (#{data.inspect})"
+ logger.error "[ActionCable] Could not process message (#{message.inspect})"
logger.error e.backtrace.join("\n")
end