Skip to content

Commit

Permalink
add log line
Browse files Browse the repository at this point in the history
  • Loading branch information
geoknee committed Nov 14, 2023
1 parent ca23778 commit 3174f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ func processRequest[T serde.RequestPayload, U serde.ResponsePayload](rs *RpcServ
err = checkTokenValidity(rpcRequest.Params.AuthToken, permission, 7*24*time.Hour)
if err != nil {
response := serde.NewJsonRpcErrorResponse(rpcRequest.Id, serde.InvalidAuthTokenError)
rs.logger.Warn(serde.InvalidAuthTokenError.Message)
return marshalResponse(response)
}

Expand Down

0 comments on commit 3174f47

Please sign in to comment.