?
When do uncaught exceptions generate events?
Answer & Solution
Correct Answer:
Option
A
Uncaught exceptions generate events, if any handlers are registered. Otherwise, the exception just makes Node print an error and exit.
process.on("uncaughtException", function(e) { console.log(Exception, e); });
Join the Discussion
Login to post a comment or share your explanation.
Login