Log IRC connection errors
This commit is contained in:
parent
f6d13675c3
commit
2bffef825d
@ -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())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user