diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2015-04-08 15:57:31 -0500 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2015-04-08 15:57:31 -0500 |
commit | 6789dd81bdcfbea8bba2f128f59990829439503f (patch) | |
tree | 68e467b2013d03f8ad6df13c9510fcc46f2ffdbb /lib/action_cable/connection/base.rb | |
parent | de8390959664eaccf3453d69be5fa8ce09f97297 (diff) | |
download | rails-6789dd81bdcfbea8bba2f128f59990829439503f.tar.gz rails-6789dd81bdcfbea8bba2f128f59990829439503f.tar.bz2 rails-6789dd81bdcfbea8bba2f128f59990829439503f.zip |
Fix the error logging
Diffstat (limited to 'lib/action_cable/connection/base.rb')
-rw-r--r-- | lib/action_cable/connection/base.rb | 2 |
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 |