diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-06-18 18:51:06 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-06-18 18:51:06 +0200 |
commit | d5caca91e213b8c82c126ce702dca46ae1fa11ba (patch) | |
tree | cf5590f28c345afa4324851013a195d54643aec6 /lib/action_cable/connection | |
parent | 8bd5a80ec5b6c11b3d477fa3af36cbe6e860bb4b (diff) | |
download | rails-d5caca91e213b8c82c126ce702dca46ae1fa11ba.tar.gz rails-d5caca91e213b8c82c126ce702dca46ae1fa11ba.tar.bz2 rails-d5caca91e213b8c82c126ce702dca46ae1fa11ba.zip |
Fix that log_exception only takes an exception, not a string
Diffstat (limited to 'lib/action_cable/connection')
-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 e3d2f42e65..06e1eb2e04 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -152,7 +152,7 @@ module ActionCable if @subscriptions[message['identifier']] @subscriptions[message['identifier']].receive_data(ActiveSupport::JSON.decode message['data']) else - log_exception "Unable to process message because no subscription was found (#{message.inspect})" + raise "Unable to process message because no subscription was found (#{message.inspect})" end rescue Exception => e logger.error "Could not process message (#{message.inspect})" |