From 2bffef825d8a7bb720cbdd4f1e5eaefc77398ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Thu, 14 Jan 2016 04:28:42 +0100 Subject: [PATCH] Log IRC connection errors --- irc/conn.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irc/conn.go b/irc/conn.go index a61da629..f95120f3 100644 --- a/irc/conn.go +++ b/irc/conn.go @@ -4,6 +4,7 @@ import ( "bufio" "crypto/tls" "fmt" + "log" "net" "strings" "time" @@ -99,6 +100,7 @@ func (c *Client) tryConnect() { return } + log.Println(err) time.Sleep(c.backoff.Duration()) } }