summaryrefslogtreecommitdiff
path: root/src/node_report.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-01 19:15:38 -0500
committercjihrig <cjihrig@gmail.com>2019-03-03 19:26:14 -0500
commit31be55203fd220142cdefdf957a5a71374c07876 (patch)
tree216b98d9eadea20d09892ce2d81bc2d7034f0be4 /src/node_report.h
parentd4abe2fc6143bf2d059bbe366e6306a1d933b66c (diff)
downloadandroid-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.h4
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);