Fixed login crash

This commit is contained in:
Mustafa Buyukcelebi 2019-05-14 12:11:52 +03:00
parent 2e4aad4ade
commit 5bb8f3f187

View File

@ -234,7 +234,7 @@ class ApplicationContainer extends Component {
this._connectNotificationServer(accountData.name);
})
.catch((err) => {
Alert.alert(`Fetching data from server failed, please try again or notify us at info@esteem.app \n${err.substr(0, 20)}`);
Alert.alert(`Fetching data from server failed, please try again or notify us at info@esteem.app \n${err.message.substr(0, 20)}`);
});
}