You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}catch(err){if(latestSubscriptionCallbackError.current){err.message+=`\nThe error may be correlated with this previous error:\n${latestSubscriptionCallbackError.current.stack}\n\n`}throwerr}
Do you want to request a feature or report a bug?
bug
What is the current behavior?
useSelector extracts
.message
field from thrown exception in https://github.com/reduxjs/react-redux/blob/master/src/hooks/useSelector.js#L60 hiding original exception with stack trace making it hard to pinpoint exact error location.What is the expected behavior?
Is it possible to re-throw original error or, at least print it using console.error?
The text was updated successfully, but these errors were encountered: