Skip to content

Commit

Permalink
Merge pull request #56 from EspressoSystems/logging
Browse files Browse the repository at this point in the history
Log JSON-RPC error
  • Loading branch information
jbearer authored Jul 27, 2023
2 parents 5c33fbd + 94c375d commit e7ef779
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsonrpc/endpoints_eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ func (e *EthEndpoints) SendRawTransaction(input string) (interface{}, rpcError)
func (e *EthEndpoints) relayTxToSequencerNode(input string) (interface{}, rpcError) {
res, err := JSONRPCCall(e.cfg.SequencerNodeURI, "eth_sendRawTransaction", input)
if err != nil {
log.Errorf("failed to relay tx to the sequencer node", err)
return rpcErrorResponse(defaultErrorCode, "failed to relay tx to the sequencer node", err)
}

Expand Down

0 comments on commit e7ef779

Please sign in to comment.