superfly / fly.rs

Fly Edge Application runtime.
https://fly.io
MIT License
39 stars 7 forks source link

Allow promises to be handled after rejection #42

Open michaeldwan opened 5 years ago

michaeldwan commented 5 years ago

This causes an unhandled promise rejection error in fly.rs but is considered valid in other engines and MDN:

const handler = Promise.reject();
handler.then(console.log).catch(console.error);