Re: Try/Catch always needed for await?

2016-10-17 Thread Jordan Rome
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

Re: Try/Catch always needed for await?

2016-10-16 Thread Jordan Rome
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. >

Re: Try/Catch always needed for await?

2016-10-15 Thread Jordan Rome
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