-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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?
evbots
Metadata
Metadata
Assignees
Labels
No labels