From 956d78ad7f27ed6858da58a6a73ab9fcd86977c9 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Fri, 7 Aug 2020 13:38:37 +0200 Subject: [PATCH] Fix promise rejection warning --- App.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/App.js b/App.js index 3a0042c..9fb4c71 100644 --- a/App.js +++ b/App.js @@ -165,7 +165,9 @@ export default class App extends React.Component { */ loadAssetsAsync = async () => { await AsyncStorageManager.getInstance().loadPreferences(); - await ConnectionManager.getInstance().recoverLogin(); + await ConnectionManager.getInstance() + .recoverLogin() + .catch(() => {}); }; /**