Skip to content

lib: properly processing JavaScript exceptions on async_hooks fatal error

JavaScript exceptions could be arbitrary values.

Status-quo of the behavior would result in TypeError in node internals

TypeError: Cannot read property 'stack' of null
    at fatalError (node:internal/async_hooks:161:16)

Merge request reports

Loading