Commit 41ca4a94 authored by alexstocks's avatar alexstocks

err -> e

parent 5bf16ed0
......@@ -252,7 +252,7 @@ func (this *gettyWSConn) read() ([]byte, error) {
atomic.AddUint32(&this.readPkgCount, 1)
} else {
if websocket.IsUnexpectedCloseError(e, websocket.CloseGoingAway) {
log.Warn("websocket unexpected close error: %v", err)
log.Warn("websocket unexpected close error: %v", e)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment