Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-02 03:15:38 +0300
committercjihrig <cjihrig@gmail.com>2019-03-04 03:26:14 +0300
commit31be55203fd220142cdefdf957a5a71374c07876 (patch)
tree216b98d9eadea20d09892ce2d81bc2d7034f0be4 /src/node_errors.cc
parentd4abe2fc6143bf2d059bbe366e6306a1d933b66c (diff)
report: rename location to trigger
trigger more accurately describes the use of the field. Previously, location was just the name of the C++ function that called TriggerNodeReport(). PR-URL: https://github.com/nodejs/node/pull/26386 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_errors.cc')
-rw-r--r--src/node_errors.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_errors.cc b/src/node_errors.cc
index 17394c863cd..1c15b555845 100644
--- a/src/node_errors.cc
+++ b/src/node_errors.cc
@@ -318,7 +318,7 @@ void OnFatalError(const char* location, const char* message) {
Environment* env = Environment::GetCurrent(isolate);
if (env == nullptr || env->isolate_data()->options()->report_on_fatalerror) {
report::TriggerNodeReport(
- isolate, env, message, __func__, "", Local<String>());
+ isolate, env, message, "FatalError", "", Local<String>());
}
#endif // NODE_REPORT
fflush(stderr);