Closed greetclock closed 2 years ago
@cherurg I'm facing at this problem too. Did you find solution to return error object?
seems it got swallowed there.
what about dispatch an exception
action in the .catch
, or error
as endGlobalLoad
payload
probably a solution for the SSR 404 too.
@uschen Could you make a PR?
Hi, I faced with the problem when a promise swallows exceptions.
I had this code:
state.activeLectures.list[lectureId]
isundefined
, so it's impossible to read propertylecture
. The code i added catches exceptions like the one in my code and show a message to the console.I know, this is not the best solution and i prefer to return the error object, but for some reason .catch and Promise.reject doesn't work. I propose to improve the code and then merge it