Skip to content

Commit bd8aa64

Browse files
committed
Update NodeJS.md
1 parent ce778b9 commit bd8aa64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NodeJS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Medium
1212
3. How do you handle an unhandled exception in NodeJS? Use the process object to create an exception handler for these.
1313

1414
Answer:
15+
1516
process.on('uncaughtException', (err) => {
1617
console.log('Caught exception: ' + err);
1718
});

0 commit comments

Comments
 (0)