Skip to content

Commit

Permalink
Introduce soft exceptions in the bridgeless core
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D40824468

fbshipit-source-id: c840610e923c35cc5c36b37e5c580d0296c1e46b
  • Loading branch information
RSNara authored and facebook-github-bot committed Nov 2, 2022
1 parent 91d58cf commit 7964d48
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public class ReactFeatureFlags {
*/
public static boolean enableBridgelessArchitecture = false;

/**
* Does the bridgeless architecture log soft exceptions. Could be useful for tracking down issues.
*/
public static volatile boolean enableBridgelessArchitectureSoftExceptions = false;

/**
* After TurboModules and Fabric are enabled, we need to ensure that the legacy NativeModule isn't
* isn't used. So, turn this flag on to trigger warnings whenever the legacy NativeModule system
Expand Down

0 comments on commit 7964d48

Please sign in to comment.