Skip to content

Commit

Permalink
Merge pull request #2 from ultrasoundmoney/mikeneuder-20230318-1
Browse files Browse the repository at this point in the history
include more error details for the context error
  • Loading branch information
michaelneuder authored Mar 21, 2023
2 parents c0e216c + 197b386 commit bae09a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/api/blocksim_ratelimiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (b *BlockSimulationRateLimiter) send(context context.Context, payload *Buil
}()

if err := context.Err(); err != nil {
return ErrRequestClosed
return fmt.Errorf("%v, %w", ErrRequestClosed, err)
}

var simReq *jsonrpc.JSONRPCRequest
Expand Down

0 comments on commit bae09a3

Please sign in to comment.