On 11/19/13 12:26 PM, Anne van Kesteren wrote:
On Tue, Nov 19, 2013 at 5:17 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
It's been the case since late August, though the behavior is a bit
different: only thrown Errors or rejections with an Error are logged, not
arbitrary rejections.
Why are we doing it only for Error objects?
The intent was to catch cases of code throwing unexpected exceptions
inside a promise callback (which promises catch and turn into a
rejection) and report those.
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.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform