This prevents clobbering the stack traces with another internal frame and removes the unnecessary hoops from step-debugging. PR-URL: https://github.com/nodejs/node/pull/61479 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
58 lines
754 B
Text
58 lines
754 B
Text
{ err:
|
|
Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
nested:
|
|
{ err:
|
|
Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
{
|
|
err: Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
nested: {
|
|
err: Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
}
|
|
}
|
|
{ Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
foo: 'bar' }
|