Closed olslash closed 7 years ago
I've just released 0.7.0. With a fix. Can you try it and see if it resolves your problem?
Thanks for the quick turnaround @captbaritone. Yep, that fixed it!
Thanks for digging into it as far as you did. Made the fix easy.
I was running into an error where I was chaining off a promise returned by redux-api-middleware:
Without raven-for-redux, result is the correct value (the result of the API call). With raven-for-redux, result is undefined.
I modified the middleware to remove the call here: https://github.com/captbaritone/raven-for-redux/blob/master/index.js#L33, which calls
next(action)
but does not return it. I replaced it withreturn next(action)
and my app again works as expected.looking at http://redux.js.org/docs/advanced/Middleware.html, all the examples return
next(action)
at some point. I believe it's part of the contract a middleware has to fulfill.I believe the fix for this is: