diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-05-16 13:27:52 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-05-20 14:15:43 +0200 |
commit | 32fb7d93348c9d2d70bb4450913e22c68a7e76ca (patch) | |
tree | 7c0616d63cc3b3215a0859c8c4473142cd8f71ce /lib/internal/util/inspect.js | |
parent | 370ddefc14a0bae1027749e0b75b65d0b6b786e9 (diff) | |
download | android-node-v8-32fb7d93348c9d2d70bb4450913e22c68a7e76ca.tar.gz android-node-v8-32fb7d93348c9d2d70bb4450913e22c68a7e76ca.tar.bz2 android-node-v8-32fb7d93348c9d2d70bb4450913e22c68a7e76ca.zip |
util: remove outdated comment
It is probably not necessary to visualize the `code` property as part
of the name of an error since all extra properties will be visible
anyway due to https://github.com/nodejs/node/pull/272431.
PR-URL: https://github.com/nodejs/node/pull/27733
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/internal/util/inspect.js')
-rw-r--r-- | lib/internal/util/inspect.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 791c6653a7..07757f3fe0 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -868,7 +868,6 @@ function getFunctionBase(value, constructor, tag) { } function formatError(err, constructor, tag, ctx) { - // TODO(BridgeAR): Always show the error code if present. let stack = err.stack || ErrorPrototype.toString(err); // A stack trace may contain arbitrary data. Only manipulate the output |