We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce778b9 commit bd8aa64Copy full SHA for bd8aa64
NodeJS.md
@@ -12,6 +12,7 @@ Medium
12
3. How do you handle an unhandled exception in NodeJS? Use the process object to create an exception handler for these.
13
14
Answer:
15
+
16
process.on('uncaughtException', (err) => {
17
console.log('Caught exception: ' + err);
18
});
0 commit comments