events: change EventTarget handler exception behavior
Change the behavior of EventTarget, instead of emitting 'error' on handler exception, emit 'uncaughtException'. Fixes: https://github.com/nodejs/node/issues/36770 PR-URL: https://github.com/nodejs/node/pull/37237 Fixes: https://github.com/nodejs/node/issues/36770 Reviewed-By:Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Anna Henningsen <anna@addaleax.net> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
parent
98037294
Please register or sign in to comment