Log IRC connection errors

This commit is contained in:
Ken-Håvard Lieng 2016-01-14 04:28:42 +01:00
parent f6d13675c3
commit 2bffef825d

View File

@ -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())
}
}