Fix WebSocket already open log message typo

This commit is contained in:
Jon Evans 2016-03-22 12:55:37 -06:00
parent 63f5a98bac
commit ff5f1d33fc
1 changed files with 1 additions and 1 deletions

View File

@ -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()}")