Skip to content

Commit b129624

Browse files
Gabriel Schulhofjasongin
Gabriel Schulhof
authored andcommitted
src: improve message regarding N-API experimental status
1 parent 876e6c8 commit b129624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -2470,9 +2470,9 @@ void DLOpen(const FunctionCallbackInfo<Value>& args) {
24702470
snprintf(errmsg,
24712471
sizeof(errmsg),
24722472
"The module '%s'"
2473-
"\nwas compiled against the Node.js API. This feature is "
2474-
"\nexperimental and must be enabled on the command-line by "
2475-
"\nadding --napi-modules.",
2473+
"\nwas compiled against the ABI-stable Node.js API (N-API)."
2474+
"\nThis feature is experimental and must be enabled on the "
2475+
"\ncommand-line by adding --napi-modules.",
24762476
*filename);
24772477
} else {
24782478
snprintf(errmsg,

0 commit comments

Comments
 (0)