summaryrefslogtreecommitdiff
path: root/test/message/internal_assert.out
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-09-23 17:22:10 +0200
committerRich Trott <rtrott@gmail.com>2019-10-03 12:34:44 -0700
commit500720f5781b96147422614b82c1f85e22d6a6e8 (patch)
treeb09135e15cada8813afbc39ba3d56db308e1b17c /test/message/internal_assert.out
parent6ea51bc4918c05e293c30d5efc384a15ae6cfd7e (diff)
downloadandroid-node-v8-500720f5781b96147422614b82c1f85e22d6a6e8.tar.gz
android-node-v8-500720f5781b96147422614b82c1f85e22d6a6e8.tar.bz2
android-node-v8-500720f5781b96147422614b82c1f85e22d6a6e8.zip
errors: make sure all Node.js errors show their properties
This improves Node.js errors by always showing the attached properties when inspecting such an error. This applies especially to SystemError. It did often not show any properties but now all properties will be visible. This is done in a mainly backwards compatible way. Instead of using prototype getters and setters, the property is now set directly on the error. PR-URL: https://github.com/nodejs/node/pull/29677 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'test/message/internal_assert.out')
-rw-r--r--test/message/internal_assert.out4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/message/internal_assert.out b/test/message/internal_assert.out
index ae8de3e1a0..cf09fdcb60 100644
--- a/test/message/internal_assert.out
+++ b/test/message/internal_assert.out
@@ -12,4 +12,6 @@ Please open an issue with this stack trace at https://github.com/nodejs/node/iss
at *
at *
at *
- at *
+ at * {
+ code: 'ERR_INTERNAL_ASSERTION'
+}