Connection errors are debug errors

This commit is contained in:
Audrius Butkevicius 2015-07-23 20:53:16 +01:00
parent d1f3d95c96
commit 604f2c9161

View File

@ -65,7 +65,9 @@ func (c *ProtocolClient) Serve() {
defer close(c.stopped) defer close(c.stopped)
if err := c.connect(); err != nil { if err := c.connect(); err != nil {
l.Infoln("Relay connect:", err) if debug {
l.Debugln("Relay connect:", err)
}
return return
} }