From feb24678b2994f81ae204c582187bb2932080206 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 10 Jan 2024 17:02:49 +0300 Subject: [PATCH] data --- pkg/network/server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/network/server.go b/pkg/network/server.go index 04ed970be..b57bcf830 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -3,6 +3,7 @@ package network import ( "context" "crypto/rand" + "encoding/base64" "encoding/binary" "errors" "fmt" @@ -1180,7 +1181,8 @@ func (s *Server) RelayP2PNotaryRequest(r *payload.P2PNotaryRequest) error { if err == nil { s.broadcastP2PNotaryRequestPayload(nil, r) } else { - s.log.Info("p2p request", zap.Error(err)) + b, _ := r.Bytes() + s.log.Info("p2p request", zap.Error(err), zap.String("payload", base64.StdEncoding.EncodeToString(b))) } return err }