mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 17:01:08 +00:00

Handle situations where accessing `.name` or `.stack` on an object fails. Fixes: https://github.com/nodejs/node/issues/25718 PR-URL: https://github.com/nodejs/node/pull/25834 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
6 lines
72 B
Plaintext
6 lines
72 B
Plaintext
|
|
*:3
|
|
throw { // eslint-disable-line no-throw-literal
|
|
^
|
|
[object Object]
|