Skip to content

[v10.x] n-api: correct bug in napi_get_last_error

napi_get_last_error returns incorrect napi_status.

PR-URL: https://github.com/nodejs/node/pull/28702 Reviewed-By: @jasnell Reviewed-By: @gabrielschulhof Reviewed-By: @cjihrig Reviewed-By: @mhdawson

Re: https://github.com/nodejs/node/issues/30487

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading