Browse Source

Fix typo error message.

master
Ola Holmström 8 years ago
parent
commit
5fe1bff6a7
  1. 2
      session.go

2
session.go

@ -35,7 +35,7 @@ func (s *Session) writeMessage(message *envelope) {
func (s *Session) writeRaw(message *envelope) error {
if s.closed() {
return errors.New("trie to write to a closed session")
return errors.New("tried to write to a closed session")
}
s.conn.SetWriteDeadline(time.Now().Add(s.melody.Config.WriteWait))

Loading…
Cancel
Save