add blank client interface

This commit is contained in:
Ethan Buchman
2016-05-04 10:39:43 -04:00
parent 1410693eae
commit e8538d606a
2 changed files with 7 additions and 2 deletions

View File

@ -387,7 +387,7 @@ func (wsc *wsConnection) readRoutine() {
// We use `readTimeout` to handle read timeouts.
_, in, err := wsc.baseConn.ReadMessage()
if err != nil {
log.Notice("Failed to read from connection", "remote", wsc.remoteAddr)
log.Notice("Failed to read from connection", "remote", wsc.remoteAddr, "err", err.Error())
// an error reading the connection,
// kill the connection
wsc.Stop()