summaryrefslogtreecommitdiff
path: root/lib/internal
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-01-28 20:23:52 -0500
committercjihrig <cjihrig@gmail.com>2019-01-31 13:00:24 -0500
commit973c223429279286b8441f20807a770920d58bcb (patch)
treecb3a2cef838a3e783d66ac721f533872cb991c28 /lib/internal
parentd9066bef2ca1c5cfddab771266b821186cda3f56 (diff)
downloadandroid-node-v8-973c223429279286b8441f20807a770920d58bcb.tar.gz
android-node-v8-973c223429279286b8441f20807a770920d58bcb.tar.bz2
android-node-v8-973c223429279286b8441f20807a770920d58bcb.zip
report: fix typo in error message
PR-URL: https://github.com/nodejs/node/pull/25782 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal')
-rw-r--r--lib/internal/process/report.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/process/report.js b/lib/internal/process/report.js
index 5ff1238f40..f83282ca19 100644
--- a/lib/internal/process/report.js
+++ b/lib/internal/process/report.js
@@ -120,7 +120,7 @@ exports.setup = function() {
if (err == null) {
return nr.getReport(new ERR_SYNTHETIC().stack);
} else if (typeof err !== 'object') {
- throw new ERR_INVALID_ARG_TYPE('err', 'Objct', err);
+ throw new ERR_INVALID_ARG_TYPE('err', 'Object', err);
} else {
return nr.getReport(err.stack);
}