Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Commit b9f1f88

Browse files
committed
refs #15. Improved the logging before reconnecting
1 parent 988592a commit b9f1f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/irc/irc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (bot *ircBot) monitor() {
130130

131131
// reconnect the ircBot
132132
func (bot *ircBot) reconnect() {
133-
glog.Infoln("Trying to reconnect.")
133+
glog.Infoln("Trying to reconnect", bot)
134134
bot.Close()
135135
time.Sleep(1 * time.Second) // Wait for timeout to be sure listen has stopped
136136
bot.Init()

0 commit comments

Comments
 (0)