rors and not reporting
unhandled rejections but it seems like browsers and node are fixing or have
fixed this issue. So, if my Promise chain rejects and I have not caught it,
I would just go in and fix whatever was throwing/rejecting (again, if
fixable).
--
Best,
Jordan R
On Sat, Oct 15, 2016 at 11:40 PM, Jordan Harband wrote:
> When the await throws an exception that's not caught by a try/catch, the
> promise returned by the `async function` ends up rejected - and you have
> the identical scenario as a promise with an unhandled rejection.
>
on't we
want programmer errors to be noisy so we can fix them?
--
Best,
Jordan Rome
www.jordanrome.com
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
3 matches
Mail list logo