Skip to content

Commit

Permalink
Merge pull request rails#24276 from artfuldodger/patch-2
Browse files Browse the repository at this point in the history
Fix WebSocket already open log message typo
  • Loading branch information
kaspth committed Mar 22, 2016
2 parents 30f5268 + ff5f1d3 commit 8857e06
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 8857e06

Please sign in to comment.