[Solved] What is Unhandled promise rejections, and why it is deprecated?

In our case, we added a universal catch-all handler for unhandledRejection (and also uncaughtException)