do not strip JavascriptException

Summary:
Changelog:
[internal] - DescriptionSome tooling breaks when the JavascriptException is obfuscated. This change prevents the exception from getting obfuscated, allowing tools to detect them without symbolicating.

Differential Revision: D43091424

fbshipit-source-id: aae4768397bd78433a1d496ecac4a1442422d912
This commit is contained in:
Matthijs Mullender
2023-02-07 12:42:34 -08:00
committed by Facebook GitHub Bot
parent 25f585302e
commit d31670b4d9
@@ -7,12 +7,14 @@
package com.facebook.react.common;
import com.facebook.proguard.annotations.DoNotStrip;
import javax.annotation.Nullable;
/**
* A JS exception that was propagated to native. In debug mode, these exceptions are normally shown
* to developers in a redbox.
*/
@DoNotStrip
public class JavascriptException extends RuntimeException
implements HasJavascriptExceptionMetadata {