Avoid UnhandledPromiseRejectionWarning if a promise fails before we await it.
UnhandledPromiseRejectionWarning
await
A promise to ignore for now (will be caught later)
const emailPromise = catchLater(getMail(...));await ...const email = await emailPromise; Copy
const emailPromise = catchLater(getMail(...));await ...const email = await emailPromise;
Avoid
UnhandledPromiseRejectionWarningif a promise fails before weawaitit.