[dojo-contributors] Instrumenting deferreds to log (unhandled) rejection values
jburke at dojotoolkit.org
Mon Jun 11 01:35:26 EDT 2012
On Sun, Jun 10, 2012 at 3:14 PM, Mark Wubben <mark at novemberborn.net> wrote:
> I'd prefer the unhandled-rejections strategy to be the default, as it cuts down on needless logs in favor of logging just those errors that are not handled anywhere.
> It should also be possible under Chrome  to expose stack traces of where a deferred is instantiated. This will make the error logs more useful. Q  supports this.
Just some other data points that may help inform a path:
This has come up in Q too, with pools/domains mentioned:
and in Node, not with promises directly but with missed error
events/exceptions, and they are trying something they call domains:
More information about the dojo-contributors