mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Inspecting errors results in duplicated information in case an error is created with enumerable `name`, `message` or `stack` properties. In that case, check if the output already contains that information and prevent listing that property. This reduces the noise as receiver. PR-URL: https://github.com/nodejs/node/pull/32327 Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>