mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Rename ReactSoftException to ReactSoftExceptionLogger
Summary: ReactSoftException makes it seem like the class is an Exception, when it's actually a logger. This rename I think is more appropriate. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D30251735 fbshipit-source-id: 550bd543388e698774ec31753200bd3f722d8c17
This commit is contained in:
committed by
Facebook GitHub Bot
parent
56dcc6ea55
commit
cbec66ef92
@@ -17,7 +17,7 @@ import com.facebook.react.bridge.Arguments;
|
||||
import com.facebook.react.bridge.Callback;
|
||||
import com.facebook.react.bridge.LifecycleEventListener;
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.bridge.ReactSoftException;
|
||||
import com.facebook.react.bridge.ReactSoftExceptionLogger;
|
||||
import com.facebook.react.bridge.ReadableMap;
|
||||
import com.facebook.react.bridge.UIManager;
|
||||
import com.facebook.react.bridge.UIManagerListener;
|
||||
@@ -365,7 +365,7 @@ public class NativeAnimatedModule extends NativeAnimatedModuleSpec
|
||||
if (nodesManager != null) {
|
||||
nodesManager.initializeEventListenerForUIManagerType(mUIManagerType);
|
||||
} else {
|
||||
ReactSoftException.logSoftException(
|
||||
ReactSoftExceptionLogger.logSoftException(
|
||||
NAME,
|
||||
new RuntimeException(
|
||||
"initializeLifecycleEventListenersForViewTag could not get NativeAnimatedNodesManager"));
|
||||
|
||||
Reference in New Issue
Block a user