mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user