Skip to content

Commit

Permalink
Fix error msg to match jsonrpc method (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
langep authored Oct 24, 2021
1 parent d4ac8bb commit 545bd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/signal/json-rpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 545bd59

Please sign in to comment.