Skip to content

Commit

Permalink
err msg and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Jan 19, 2024
1 parent 7da432a commit 47356a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,10 @@ func (s *Server) handleInfo() http.HandlerFunc {
func (s *Server) txBuilderFromRequest(r *http.Request) (chain.TxBuilder, error) {
claimRequest, err := readClaimRequest(r)
if err != nil {
err = fmt.Errorf("failed to read claim request: %w", err)
return nil, err
}

log.WithFields(log.Fields{
"address": claimRequest.Address,
"rollupName": claimRequest.RollupName,
}).Info("Received claim request")
return s.txBuilderFromRollupName(claimRequest.RollupName)
}

Expand Down

0 comments on commit 47356a2

Please sign in to comment.