Unverified Commit 5198a535 authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

console: make error handling engine agnostic

Calling write could throw a maximum call stack size error. To make
sure this is not specific to a single engine (version), lazily
populate the correct error message by producing such a error on
demand.

PR-URL: https://github.com/nodejs/node/pull/17707


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent a38941c5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment