Skip to content

fix: adding req & res to RRNLRetryMiddlewareError#150

Open
nnthnn wants to merge 1 commit intorelay-tools:masterfrom
nnthnn:fix/retry-error
Open

fix: adding req & res to RRNLRetryMiddlewareError#150
nnthnn wants to merge 1 commit intorelay-tools:masterfrom
nnthnn:fix/retry-error

Conversation

@nnthnn
Copy link

@nnthnn nnthnn commented May 11, 2022

After switching to use the retry middleware, I missed being able to have access to the request & response objects.

This changes brings adds that info to RRNLRetryMiddlewareError like RRNLRequestError (https://github.com/relay-tools/react-relay-network-modern/blob/master/src/createRequestError.js#L86-L87)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant