From 5fe1bff6a70446f74e59c53158257a9344a0762a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ola=20Holmstr=C3=B6m?= Date: Sun, 9 Apr 2017 18:03:14 +0200 Subject: [PATCH] Fix typo error message. --- session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.go b/session.go index c6948a7..86eec00 100644 --- a/session.go +++ b/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))