diff options
author | cjihrig <cjihrig@gmail.com> | 2019-03-01 19:15:38 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-03-03 19:26:14 -0500 |
commit | 31be55203fd220142cdefdf957a5a71374c07876 (patch) | |
tree | 216b98d9eadea20d09892ce2d81bc2d7034f0be4 /src/node_report.h | |
parent | d4abe2fc6143bf2d059bbe366e6306a1d933b66c (diff) | |
download | android-node-v8-31be55203fd220142cdefdf957a5a71374c07876.tar.gz android-node-v8-31be55203fd220142cdefdf957a5a71374c07876.tar.bz2 android-node-v8-31be55203fd220142cdefdf957a5a71374c07876.zip |
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 2aa55151d8..7d36557e66 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); |