Skip to content

Commit

Permalink
Move dispatcher failed dispatch method from ERROR to WARN log severity (
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed May 23, 2023
1 parent 27f615f commit 7783770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func (d *Dispatcher) handleReq(req Request) ([]byte, Error) {
}

func (d *Dispatcher) logInternalError(method string, err error) {
d.logger.Error("failed to dispatch", "method", method, "err", err)
d.logger.Warn("failed to dispatch", "method", method, "err", err)
}

func (d *Dispatcher) registerService(serviceName string, service interface{}) error {
Expand Down

0 comments on commit 7783770

Please sign in to comment.