Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels