FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(core): type uncaughtErrorPolicy and deprecate discardUncaughtJsExceptions by NathanWalker · Pull Request #11356 · NativeScript/NativeScript · GitHub

feat(core): type uncaughtErrorPolicy and deprecate discardUncaughtJsExceptions - #11356

Merged
NathanWalker merged 1 commit into
mainfrom
feat/config-uncaught-error-policy
Aug 21, 2026
Merged

feat(core): type uncaughtErrorPolicy and deprecate discardUncaughtJsExceptions#11356
NathanWalker merged 1 commit into
mainfrom
feat/config-uncaught-error-policy

Conversation

Copy link
Copy Markdown
Contributor

Runtime 9.1 (ios#409, android parity) reports uncaught JS errors and unhandled promise rejections without crashing by default and reads a top-level uncaughtErrorPolicy: "report" | "throw" from the app package.json. discardUncaughtJsExceptions is still honored but logs a one-time deprecation warning on both runtimes.

  • add UncaughtErrorPolicy and the top-level uncaughtErrorPolicy key
  • add the top-level discardUncaughtJsExceptions (where both runtimes actually read it) as @deprecated, and mark the per-platform one @deprecated too (the CLI hoists it to the top level)

…xceptions

Runtime 9.1 (ios#409, android parity) reports uncaught JS errors and
unhandled promise rejections without crashing by default and reads a
top-level `uncaughtErrorPolicy: "report" | "throw"` from the app
package.json. `discardUncaughtJsExceptions` is still honored but logs a
one-time deprecation warning on both runtimes.

- add `UncaughtErrorPolicy` and the top-level `uncaughtErrorPolicy` key
- add the top-level `discardUncaughtJsExceptions` (where both runtimes
  actually read it) as @deprecated, and mark the per-platform one
  @deprecated too (the CLI hoists it to the top level)

nx-cloud Bot commented Aug 20, 2026
edited
Loading

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit db6ecfc

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 4m 20s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-20 17:52:04 UTC

NathanWalker added this to the 9.1 milestone Aug 20, 2026
NathanWalker merged commit 197b3bf into main Aug 21, 2026
8 checks passed
NathanWalker deleted the feat/config-uncaught-error-policy branch August 21, 2026 18:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL