Unverified Commit 727187dc authored by Anna Henningsen's avatar Anna Henningsen Committed by Michaël Zasso
Browse files

src: yield empty maybes for failed AsyncWrap::MakeCallback calls

Use an empty `MaybeLocal<Value>` as the return value for
`AsyncWrap::MakeCallback()` if an exception occurred,
regardless of `MakeCallback` depth.

Unfortunately, the public API can not make this switch without
a breaking change (and possibly some kind of deprecation/renaming).

PR-URL: https://github.com/nodejs/node/pull/22078
Backport-PR-URL: https://github.com/nodejs/node/pull/22505


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 4d802f06
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment