Ns Uncaught Error Policy

Use when a NativeScript app that used to crash on JS errors now silently keeps running (9.1 behavior change), when configuring uncaughtErrorPolicy in nativescript.config.ts, or when removing discardUncaughtJsExceptions — 'report' (the new default) logs and fires Application.uncaughtErrorEvent without crashing, 'throw' restores native crashes for crash reporters, and the key only works at the config's TOP level.

nativescript 224856b 3.0 KB Updated

File contents

nativescript/skills/tree/main/skills/tooling/ns-uncaught-error-policy commit 224856b59e

Frequently asked questions

npx skillmds@latest add nativescript/ns-uncaught-error-policy