We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bc4091 commit f9c0c3eCopy full SHA for f9c0c3e
src/node_report_module.cc
@@ -129,13 +129,11 @@ static void SetSignal(const FunctionCallbackInfo<Value>& info) {
129
}
130
131
static void ShouldReportOnFatalError(const FunctionCallbackInfo<Value>& info) {
132
- Environment* env = Environment::GetCurrent(info);
133
info.GetReturnValue().Set(
134
node::per_process::cli_options->report_on_fatalerror);
135
136
137
static void SetReportOnFatalError(const FunctionCallbackInfo<Value>& info) {
138
139
CHECK(info[0]->IsBoolean());
140
node::per_process::cli_options->report_on_fatalerror = info[0]->IsTrue();
141
0 commit comments