I hope this is the right category.
I believe one of the upgrades to Meteor upgraded Node to a version where unhandled rejections replicate the behaviour of uncaughtExceptions and crash the underlying node program.
The odd thing is the Meteor never crashed because of uncaughtExceptions, but it now does for unhandledRejections.
To replicate the behaviour, you can run meteor shell
in the root dir of a running meteor app, and observe that running
function test() { throw 'x' }; test()
does not crash the running app, while
async function test() { throw 'x' }; test()
will cause the app to crash.
I’m not sure if this is a bug or intended behaviour, and I’m hoping that somebody here can clarify.