fix(create-nav-container): pass up error on catch (#4298)

This commit is contained in:
Andrei Xavier de Oliveira Calazans
2018-05-25 19:13:18 -03:00
parent 7e374425ce
commit f4d5a45471

View File

@@ -285,6 +285,8 @@ export default function createNavigationContainer(Component) {
'Uncaught exception while starting app from persisted navigation state! Trying to render again with a fresh navigation state..'
);
this.dispatch(NavigationActions.init());
} else {
throw new Error(e);
}
}