4 ms·
Or not handling uncaughtException or unhandledPromiseRejection, which may be common mistakes.
by fendy3002 3y ago
Or not handling uncaughtException or unhandledPromiseRejection, which may be common mistakes.
- rezonant 3y agoHandling uncaughtException and unhandledPromiseRejection is a common mistake. You should not do it unless you have a good reason. Your program should die for science, and you should fix the place where you didn't handle that exception or rejection. Unless of course your handler results in dying for science, then it's fine (ie for sending to an observability service first)