errors caught from n-api addons shouldn't trigger UncaughtException reports#133
errors caught from n-api addons shouldn't trigger UncaughtException reports#133richardlau wants to merge 4 commits intonodejs:mainfrom
Conversation
|
I think I'm going to need some help here. I've added two tests to this PR, one based on n-api and the other using nan which I think should replicate #131. However the nan version is passing while the n-api version is not. I expected both tests to fail. Could someone:
cc @nodejs/addon-api @nodejs/n-api @mmarchini |
They look equivalent to me. Ultimately they both end up calling |
|
Thanks Ben. So the question remains over the behavioral differences and whether this is an n-api issue (since it doesn't happen with the nan based equivalent)? |
|
N-API seems to create a |
WIP.
Refs: #131
Added test. Need to look at how to fix.