You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
325
325
326
326
Starting with Node.js v20, the app setting has no effect and the breaking change behavior is always enabled.
327
327
328
328
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`.
331
331
332
332
|Key|Value|Description|
333
333
|---|-----|-----------|
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.|
0 commit comments