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_report.h | |
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_report.h')
-rw-r--r-- | src/node_report.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_report.h b/src/node_report.h index 2aa55151d87..7d36557e669 100644 --- a/src/node_report.h +++ b/src/node_report.h @@ -43,13 +43,13 @@ typedef struct tm TIME_TYPE; std::string TriggerNodeReport(v8::Isolate* isolate, node::Environment* env, const char* message, - const char* location, + const char* trigger, std::string name, v8::Local<v8::String> stackstr); void GetNodeReport(v8::Isolate* isolate, node::Environment* env, const char* message, - const char* location, + const char* trigger, v8::Local<v8::String> stackstr, std::ostream& out); |