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

Commit

Permalink
refs #15. Improved the logging before reconnecting
Browse files Browse the repository at this point in the history
  • Loading branch information
yml committed May 18, 2014
1 parent 988592a commit b9f1f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/irc/irc.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (bot *ircBot) monitor() {

// reconnect the ircBot
func (bot *ircBot) reconnect() {
glog.Infoln("Trying to reconnect.")
glog.Infoln("Trying to reconnect", bot)
bot.Close()
time.Sleep(1 * time.Second) // Wait for timeout to be sure listen has stopped
bot.Init()
Expand Down

0 comments on commit b9f1f88

Please sign in to comment.