legacy: fix logging.
This commit is contained in:
parent
6c5cd1260d
commit
b8bfcaf4bf
1 changed files with 2 additions and 2 deletions
|
|
@ -181,9 +181,9 @@ func (h *LegacyHandler) Route(r types.Router) {
|
|||
var message string
|
||||
select {
|
||||
case err = <-errClient:
|
||||
message = "websocketproxy: Error when copying from backend to client: %v"
|
||||
message = "websocketproxy: Error when copying from backend to client"
|
||||
case err = <-errBackend:
|
||||
message = "websocketproxy: Error when copying from client to backend: %v"
|
||||
message = "websocketproxy: Error when copying from client to backend"
|
||||
}
|
||||
|
||||
if e, ok := err.(*websocket.CloseError); !ok || e.Code == websocket.CloseAbnormalClosure {
|
||||
|
|
|
|||
Loading…
Reference in a new issue