Skip to content

Commit 464e5c9

Browse files
committed
chore: fix JSONWSRPC noisy info log in WS handler
1 parent 875ecba commit 464e5c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rpc/jsonrpc/server/ws_handler.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,6 @@ func (wsc *wsConnection) readRoutine() {
380380

381381
returns := rpcFunc.f.Call(args)
382382

383-
// TODO: Need to encode args/returns to string if we want to log them
384-
wsc.Logger.Info("WSJSONRPC", "method", request.Method)
385-
386383
result, err := unreflectResult(returns)
387384
if err != nil {
388385
if err := wsc.WriteRPCResponse(writeCtx, types.RPCInternalError(request.ID, err)); err != nil {

0 commit comments

Comments
 (0)