redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

rethrow errors from dispatching async thunk actions

Open EskiMojo14 opened this issue 9 months ago • 4 comments

currently, if any reducers throw an error when responding to the pending action (for example, if you had a typo) the error would get swallowed into a rejected action

this change instead resurfaces that error, as suggested by Lenz a while ago

TODO: see if this same approach can be applied to #3795

EskiMojo14 avatar May 02 '24 16:05 EskiMojo14