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 Updated 1 repo stars

File contents

nativescript/skills commit 224856b59e

Frequently asked questions

npx get-skill add nativescript/ns-uncaught-error-policy