diff options
author | cjihrig <cjihrig@gmail.com> | 2019-03-01 18:00:51 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-03-03 19:26:04 -0500 |
commit | b271b0315a2ecec3cd1aae0c5556a31f5911dcec (patch) | |
tree | b9439f5a7a3203c270b98c91a97f19e233e7d8f2 /src/node_report.cc | |
parent | 4db423c0eea82ecb06ae386ced910f8de414a192 (diff) | |
download | android-node-v8-b271b0315a2ecec3cd1aae0c5556a31f5911dcec.tar.gz android-node-v8-b271b0315a2ecec3cd1aae0c5556a31f5911dcec.tar.bz2 android-node-v8-b271b0315a2ecec3cd1aae0c5556a31f5911dcec.zip |
report: use triggerReport() to handle signals
This commit uses the triggerReport() binding to handle
signals and removes the custom onUserSignal() function.
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.cc')
-rw-r--r-- | src/node_report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_report.cc b/src/node_report.cc index bd6e710041..4617fb6271 100644 --- a/src/node_report.cc +++ b/src/node_report.cc @@ -377,7 +377,7 @@ static void PrintJavaScriptStack(JSONWriter* writer, std::string ss; if ((!strcmp(location, "OnFatalError")) || - (!strcmp(location, "OnUserSignal"))) { + (!strcmp(location, "Signal"))) { ss = "No stack.\nUnavailable.\n"; } else { String::Utf8Value sv(isolate, stackstr); |