diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index b02daaca240297..b2a9df1624ee6f 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -866,7 +866,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