mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
e852289802
Error stacks and multiline error messages were not correct indented. This is fixed by this patch. PR-URL: https://github.com/nodejs/node/pull/20802 Refs: https://github.com/nodejs/node/issues/20253 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
64 lines
819 B
Plaintext
64 lines
819 B
Plaintext
{ err:
|
|
Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
nested:
|
|
{ err:
|
|
Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at * } }
|
|
{
|
|
err: Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *,
|
|
nested: {
|
|
err: Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
}
|
|
}
|
|
{ Error: foo
|
|
bar
|
|
at *util_inspect_error*
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
foo: 'bar' }
|