mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Collapse catch blocks in template (#34379)
Summary: Collapse catch blocks in template ## Changelog [Android] [Changed] - Collapse catch blocks in template Pull Request resolved: https://github.com/facebook/react-native/pull/34379 Test Plan: No test plan required. Reviewed By: cortinico Differential Revision: D38593529 Pulled By: makovkastar fbshipit-source-id: a26b00d88421f3e9201f98aabbc8a1b43159c208
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e532f861ec
commit
a379879adf
@@ -77,13 +77,10 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
aClass
|
||||
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
|
||||
.invoke(null, context, reactInstanceManager);
|
||||
} catch (ClassNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
} catch (NoSuchMethodException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IllegalAccessException e) {
|
||||
e.printStackTrace();
|
||||
} catch (InvocationTargetException e) {
|
||||
} catch (ClassNotFoundException
|
||||
| InvocationTargetException
|
||||
| IllegalAccessException
|
||||
| NoSuchMethodException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user