aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/connection/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/connection/base.rb')
-rw-r--r--lib/action_cable/connection/base.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb
index cb9267e2f5..d6e5bfa2d2 100644
--- a/lib/action_cable/connection/base.rb
+++ b/lib/action_cable/connection/base.rb
@@ -76,6 +76,8 @@ module ActionCable
unsubscribe_channel(data)
when 'message'
process_message(data)
+ else
+ logger.error "Received unrecognized command in #{data.inspect}"
end
end