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
// Ensure that the promise does trigger "Uncaught (in promise)" errors in console if no error handler is added // See: https://github.com/reflux/reflux-promise/issues/4 createdPromise.catch(function() {});
Traced it down to empty catch handler reflux-promise. Basically exceptions are just catched and silently ignored. It would helpful to support adding custom catch function, and not fail silently by default.
The PR #18 would fix it for my use case. If you wanted to silently ignore all unhandled exceptions, you could do that, or you can choose to not to provide the catch handling function at all.
This is not ideal.
I understand it was an irritation when failed actions propagated to the console as errors. But I feel this is worse.
if I have ....
execution just stops. No errors appear in the console.
Is there perhaps a way to configure reflux ( or reflux-promise ) to handle the promise in a more explicit manner?
The text was updated successfully, but these errors were encountered: