mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
legacy: fix logging.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user