You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
misleading command line help docs for "unhandled-rejections=mode" in "node --help server" #32796
[output]
...
--unhandled-rejections=...
define unhandled rejections behavior. Options are 'strict' (raise an error), 'warn' (enforce warnings) or 'none' (silence warnings)
...
[expected]
strict: Raise the unhandled rejection as an uncaught exception.
warn: Always trigger a warning, no matter if the unhandledRejection hook is set or not but do not print the deprecation warning.
none: Silence all warnings.
I think the short brief is better for user reading, so have some differences with its doc. What's more, the original PR seems like intentionally for this.
Activity
himself65 commentedon Apr 13, 2020
I think the short brief is better for user reading, so have some differences with its doc. What's more, the original PR seems like intentionally for this.
If you have a better description, PR welcome.
Refs: #26599