chore: add listener error handler
chore: add listener error handler

Context:

- https://github.com/reduxjs/redux-toolkit/pull/547#discussion_r659277212

- https://github.com/reduxjs/redux-toolkit/discussions/1648

reduxjs/redux-toolkit,reduxjs/redux-toolkit