mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src: add cli option to preserve env vars on dr
PR-URL: https://github.com/nodejs/node/pull/55697 Backport-PR-URL: https://github.com/nodejs/node/pull/56055 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
1 parent
552a1823c3
commit
2e3ca1bbdd
12 files changed
+199
-14
No files matched your search
@@ -105,6 +105,13 @@ const report = {
|
||||
|
||||
nr.setReportOnUncaughtException(trigger);
|
||||
},
|
||||
get excludeEnv() {
|
||||
return nr.getExcludeEnv();
|
||||
},
|
||||
set excludeEnv(b) {
|
||||
validateBoolean(b, 'excludeEnv');
|
||||
nr.setExcludeEnv(b);
|
||||
},
|
||||
};
|
||||
|
||||
function addSignalHandler(sig) {
|
||||
|
||||
Reference in new issue
Block a user