mirror of https://github.com/rails/rails
Fix WebSocket already open log message typo
This commit is contained in:
parent
63f5a98bac
commit
ff5f1d33fc
|
@ -20,7 +20,7 @@ class ActionCable.Connection
|
|||
|
||||
open: =>
|
||||
if @isActive()
|
||||
ActionCable.log("Attemped to open WebSocket, but existing socket is #{@getState()}")
|
||||
ActionCable.log("Attempted to open WebSocket, but existing socket is #{@getState()}")
|
||||
throw new Error("Existing connection must be closed before opening")
|
||||
else
|
||||
ActionCable.log("Opening WebSocket, current state is #{@getState()}")
|
||||
|
|
Loading…
Reference in New Issue