Skip to content

Commit 76e9998

Browse files
committed
more tweaks
1 parent 0984c9e commit 76e9998

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,18 +321,18 @@ The following major runtime version values are supported:
321321

322322
## FUNCTIONS\_NODE\_BLOCK\_ON\_ENTRY\_POINT\_ERROR
323323

324-
This app setting is a temporary way for Node.js apps to enable a breaking change that makes entry point errors easier to troubleshoot. It's highly recommended to set this to `true` on Node.js v18 or lower, especially for programming model v4 apps which always use entry point files. The behavior without the breaking change treats entry point errors as warnings and will not log them in Application Insights.
324+
This app setting is a temporary way for Node.js apps to enable a breaking change that makes entry point errors easier to troubleshoot on Node.js v18 or lower. It's highly recommended to use `true`, especially for programming model v4 apps, which always use entry point files. The behavior without the breaking change (`false`) ignores entry point errors and doesn't log them in Application Insights.
325325

326326
Starting with Node.js v20, the app setting has no effect and the breaking change behavior is always enabled.
327327

328328
For Node.js v18 or lower, the app setting can be used and the default behavior depends on if the error happens before or after a model v4 function has been registered:
329-
- If the error is thrown before, the default behavior matches `false`. For example, if you are using model v3 or your entry point file doesn't exist.
330-
- If the error is thrown after, the default behavior matches `true`. For example, if you try to register duplicate functions.
329+
- If the error is thrown before (for example if you're using model v3 or your entry point file doesn't exist), the default behavior matches `false`.
330+
- If the error is thrown after (for example if you try to register duplicate model v4 functions), the default behavior matches `true`.
331331

332332
|Key|Value|Description|
333333
|---|-----|-----------|
334-
|FUNCTIONS\_NODE\_BLOCK\_ON\_ENTRY\_POINT\_ERROR|`true`|Treat entry point errors as blocking errors and log them in App Insights.|
335-
|FUNCTIONS\_NODE\_BLOCK\_ON\_ENTRY\_POINT\_ERROR|`false`|Treat entry point errors as ignore-able warnings and don't log them in App Insights.|
334+
|FUNCTIONS\_NODE\_BLOCK\_ON\_ENTRY\_POINT\_ERROR|`true`|Block on entry point errors and log them in Application Insights.|
335+
|FUNCTIONS\_NODE\_BLOCK\_ON\_ENTRY\_POINT\_ERROR|`false`|Ignore entry point errors and don't log them in Application Insights.|
336336

337337
## FUNCTIONS\_V2\_COMPATIBILITY\_MODE
338338

0 commit comments

Comments
 (0)