Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add unhandledRejection to strict mode #41194

Merged
merged 1 commit into from
Dec 19, 2021

Commits on Dec 16, 2021

  1. doc: add unhandledRejection to strict mode

    `lib/internal/process/promises.js` contains the following comment
    about --unhandled-rejections=strict. This commit updates the
    docs to reflect this:
    
    // --unhandled-rejections=strict:
    // Emit 'uncaughtException'. If it's not handled, print
    // the error to stderr and exit the process.
    // Otherwise, emit 'unhandledRejection'. If
    // 'unhandledRejection' is not
    // handled, emit 'UnhandledPromiseRejectionWarning'.
    
    Fixes: nodejs#41184
    cjihrig committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    4e62f93 View commit details
    Browse the repository at this point in the history