Skip to content

Commit

Permalink
lib: fix a comment typo in events
Browse files Browse the repository at this point in the history
  • Loading branch information
kuriyosh committed Nov 12, 2021
1 parent f3e6cd0 commit eaa3692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function emitUnhandledRejectionOrErr(ee, err, type, args) {
// we might end up in an infinite loop.
const prev = ee[kCapture];

// If the error handler throws, it is not catcheable and it
// If the error handler throws, it is not catchable and it
// will end up in 'uncaughtException'. We restore the previous
// value of kCapture in case the uncaughtException is present
// and the exception is handled.
Expand Down

0 comments on commit eaa3692

Please sign in to comment.