Unverified Commit 88e8b7cf authored by Octavian Soldea's avatar Octavian Soldea Committed by Myles Borins
Browse files

n-api: correct bug in napi_get_last_error

napi_get_last_error returns incorrect napi_status.

Backport-PR-URL: https://github.com/nodejs/node/pull/30532
PR-URL: https://github.com/nodejs/node/pull/28702


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
parent 3e0709cf
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