Skip to content

Commit

Permalink
Fix WebSocket already open log message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
artfuldodger committed Mar 22, 2016
1 parent 63f5a98 commit ff5f1d3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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()}")
Expand Down

0 comments on commit ff5f1d3

Please sign in to comment.