-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.questionIssues that look for answers.Issues that look for answers.
Description
Errors thrown from inside node_crypto might contain an additional opensslErrorStack property. This property is generally undocumented save one reference here and I am unable to find any mentions of the property in use anywhere (GitHub and Google searches show no mentions of the property outside of our own errors.md doc and test-crypto.js file).
Keeping it around seems significantly less than useful. I propose deprecating the property and changing things such that if (and only if) we are in a DEBUG build, the openssl stack trace can be output to the console immediately before the associated js error is thrown.
@nodejs/crypto @nodejs/tsc
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.questionIssues that look for answers.Issues that look for answers.