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>
20 lines
477 B
Text
20 lines
477 B
Text
node:internal/assert:*
|
|
throw new ERR_INTERNAL_ASSERTION(message);
|
|
^
|
|
|
|
Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
|
|
Please open an issue with this stack trace at https://github.com/nodejs/node/issues
|
|
|
|
at assert (node:internal/assert:*:*)
|
|
at * (*test*message*internal_assert.js:7:1)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at * {
|
|
code: 'ERR_INTERNAL_ASSERTION'
|
|
}
|
|
|
|
Node.js *
|