fix(node): match domain uncaught exception handling (#36475)