From 545bd5924af67bfb5e04aa5058b70f5cd000695d Mon Sep 17 00:00:00 2001 From: Patrick Lange Date: Sun, 24 Oct 2021 03:34:52 -0700 Subject: [PATCH] Fix error msg to match jsonrpc method (#596) --- cmd/signal/json-rpc/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/signal/json-rpc/server/server.go b/cmd/signal/json-rpc/server/server.go index cc1a17944..95dfd16e6 100644 --- a/cmd/signal/json-rpc/server/server.go +++ b/cmd/signal/json-rpc/server/server.go @@ -107,7 +107,7 @@ func (p *JSONSignal) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonr var negotiation Negotiation err := json.Unmarshal(*req.Params, &negotiation) if err != nil { - p.Logger.Error(err, "connect: error parsing offer") + p.Logger.Error(err, "connect: error parsing answer") replyError(err) break }