diff options
author | cjihrig <cjihrig@gmail.com> | 2019-03-02 03:15:38 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-03-04 03:26:14 +0300 |
commit | 31be55203fd220142cdefdf957a5a71374c07876 (patch) | |
tree | 216b98d9eadea20d09892ce2d81bc2d7034f0be4 /src/node_errors.cc | |
parent | d4abe2fc6143bf2d059bbe366e6306a1d933b66c (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.cc | 2 |
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); |