0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Gerhard Stoebich f4797ff1ef process: allow monitoring uncaughtException
Installing an uncaughtException listener has a side effect that process
is not aborted. This is quite bad for monitoring/logging tools which
tend to be interested in errors but don't want to cause side effects
like swallow an exception or change the output on console.

There are some workarounds in the wild like monkey patching emit or
rethrow in the exception if monitoring tool detects that it is the only
listener but this is error prone and risky.

This PR allows to install a listener to monitor uncaughtException
without the side effect to consider the exception has handled.

PR-URL: https://github.com/nodejs/node/pull/31257
Refs: https://github.com/nodejs/node/pull/30932
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-10 18:35:01 -08:00
..
api process: allow monitoring uncaughtException 2020-01-10 18:35:01 -08:00
api_assets doc: allow <code> in header elements 2019-12-26 21:31:52 -08:00
changelogs 2020-01-09, Version 10.18.1 'Dubnium' (LTS) 2020-01-09 21:48:45 +00:00
guides doc: de-duplicate security release processes 2019-12-31 09:44:25 -08:00
.eslintrc.yaml
abi_version_registry.json src: update NODE_MODULE_VERSION to 81 2019-11-08 15:46:34 +01:00
first_timer_badge.png
full-white-stripe.jpg
node.1 module: unflag resolve self 2020-01-02 17:53:47 +01:00
offboarding.md doc: use consistent indenting for unordered list items 2019-09-03 20:55:39 -07:00
onboarding-extras.md doc: add blanks around code fences 2019-08-31 15:31:13 -07:00
onboarding.md doc: remove "make that" from onboarding.md 2019-06-23 07:07:14 -07:00
osx_installer_logo.png
releases.md doc: update signature algorithm in release doc 2019-12-02 06:26:30 +01:00
STYLE_GUIDE.md doc: add "Be direct." to the style guide 2019-12-15 13:16:56 -08:00
template.html doc: specify display=fallback for Google Fonts 2019-09-26 22:46:34 -07:00
thin-white-stripe.jpg