On 21/11/2013 13:41, Brandon Benvie wrote:
> On 11/20/2013 9:27 PM, Philip Chee wrote:

>> This is singularly unhelpful. Can we have better error stacks?
> 
> This is actually a *really* useful error stack for people who know about 
> the library in question throwing the error, and bugs have been filed 
> about fixing it [1] [2]. The problem is that this library is widely 
> used, and this error shows up leading consumers of the library to think 
> they're doing something wrong when they're not.
> 
> The problem essentially boils down to overloading the error/reject 
> channel of Promises to signify the end of iteration. It's a promise 
> that's rejected not because of an actual error, but because there's 
> nothing more to iterate over. It will be fixed, and the error reporting 
> did a good job of making it obvious that this needed to be fixed.
> 
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=938704
> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=936530

Thanks! It's a relief to know it's not just me.

Phil

-- 
Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to