Comment #20 on issue 3093 by mathieu....@gmail.com: Debugging promises
http://code.google.com/p/v8/issues/detail?id=3093
@19, That sounds wrong. Imagine the following example:
var p = new Promise(function(resolve, reject) { reject(new Error('Something
went wrong'); });
p.then(function(result) {
console.log('Promise success', result);
}, function(error) {
console.error('Promise failed', error);
});
After the first line the promise's rejection is effectively unhandled.
There is however no way for the user to handle the rejection earlier and
thus avoid the temporary unhandled state.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.