Please sign in to comment.
util: fix inspection of errors with tampered name or stack property
This makes sure that `util.inspect()` does not throw while inspecting errors that have the name or stack property set to a different type than string. Fixes: #30572 PR-URL: #30576 Reviewed-By: David Carlier <email@example.com> Reviewed-By: Anto Aravinth <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Reviewed-By: Anna Henningsen <firstname.lastname@example.org>
- Loading branch information
Showing with 32 additions and 3 deletions.