Method: ActionCable::Connection::Base#on_error

Defined in:
actioncable/lib/action_cable/connection/base.rb

#on_error(message) ⇒ Object

:nodoc:



146
147
148
149
# File 'actioncable/lib/action_cable/connection/base.rb', line 146

def on_error(message) # :nodoc:
  # log errors to make diagnosing socket errors easier
  logger.error "WebSocket error occurred: #{message}"
end