]> git.kaiwu.me - njs.git/commit
Improved Error.prototype.toString().
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 29 Jun 2023 05:15:59 +0000 (22:15 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 29 Jun 2023 05:15:59 +0000 (22:15 -0700)
commitfd42c254a75e58e64236c367956bee1de4d97324
tree03f439c8c4c457761295a9eacaf1ccb07dfb0f03
parent55b08110541d2eacb77bd895c40c8013a897025d
Improved Error.prototype.toString().

Making method more generic by using njs_vm_property() when looking for
"name" and "message" properties in the prototype chain.
src/njs_error.c