diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-01-09 14:42:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-09 14:42:38 +0300 |
commit | 7edb50dec7193163bad25fcce9640a7bc39ba079 (patch) | |
tree | 6fed43b57ccb9c7e4c80fbdab0d9ac45628413a0 /doc/api/cli.md | |
parent | e2470890574d3d4ccafb8250a1de887351b4e9a6 (diff) |
doc: clarify `uncaughtException` `origin` for ESM
Fixes: https://github.com/nodejs/node/issues/41328
PR-URL: https://github.com/nodejs/node/pull/41339
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 1c04da298b3..63bd7aaa702 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1261,6 +1261,9 @@ occurs. One of the following modes can be chosen: set, trigger a warning, and set the process exit code to 1. * `none`: Silence all warnings. +If a rejection happens during the command line entry point's ES module static +loading phase, it will always raise it as an uncaught exception. + ### `--use-bundled-ca`, `--use-openssl-ca` <!-- YAML |