On Wed, Nov 20, 2013 at 12:51 PM, Anne van Kesteren <ann...@annevk.nl>wrote:

> On Tue, Nov 19, 2013 at 5:30 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> > We could report all rejections, but I'm a bit leery of adding so much
> noise
> > that people start ignoring the report altogether; a common problem in the
> > past.
>
> Given that we report "throw 42" we should also report these I think. A
> promise is nothing but an asynchronous variant of a function. Where a
> function either returns or throws, a promise either resolves or
> rejects.
>

How about logging them with console.info? That seems the right logging
level to me, and it's easy to turn off if it gets in the way.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to