mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
Fixed bugsnag roadable issue
This commit is contained in:
parent
9403e9ef44
commit
57a16f7f88
@ -151,7 +151,7 @@ class PointsContainer extends Component {
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
Alert.alert(err);
|
||||
Alert.alert(err.message || err.toString());
|
||||
});
|
||||
|
||||
this.setState({
|
||||
@ -167,7 +167,7 @@ class PointsContainer extends Component {
|
||||
return balance;
|
||||
})
|
||||
.catch(err => {
|
||||
Alert.alert(err);
|
||||
Alert.alert(err.message || err.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -167,7 +167,7 @@ class TransferContainer extends Component {
|
||||
};
|
||||
|
||||
setWithdrawVestingRoute(currentAccount, pinCode, data).catch(err => {
|
||||
alert(err);
|
||||
alert(err.message || err.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -514,7 +514,6 @@ class ApplicationContainer extends Component {
|
||||
this._connectNotificationServer(accountData.name);
|
||||
})
|
||||
.catch(err => {
|
||||
this._handleAlert();
|
||||
Alert.alert(
|
||||
`${intl.formatMessage({ id: 'alert.fetch_error' })} \n${err.message.substr(0, 20)}`,
|
||||
);
|
||||
|
@ -104,7 +104,7 @@ class BoostPostScreen extends PureComponent {
|
||||
this.setState({ balance });
|
||||
})
|
||||
.catch(err => {
|
||||
Alert.alert(err);
|
||||
Alert.alert(err.message || err.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -207,7 +207,7 @@ class EditorContainer extends Component {
|
||||
intl.formatMessage({
|
||||
id: 'alert.fail',
|
||||
}),
|
||||
error,
|
||||
error.message || error.toString(),
|
||||
);
|
||||
this.setState({ isUploading: false });
|
||||
});
|
||||
|
@ -202,7 +202,7 @@ class ProfileContainer extends Component {
|
||||
{
|
||||
error,
|
||||
},
|
||||
() => alert(error),
|
||||
() => alert(error.message || error.toString()),
|
||||
);
|
||||
} else {
|
||||
this._fetchProfile(username, true);
|
||||
|
@ -104,7 +104,7 @@ class PointsScreen extends PureComponent {
|
||||
this.setState({ balance });
|
||||
})
|
||||
.catch(err => {
|
||||
Alert.alert(err);
|
||||
Alert.alert(err.message || err.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -69,7 +69,7 @@ class PowerDownView extends Component {
|
||||
return res;
|
||||
})
|
||||
.catch(e => {
|
||||
alert(e);
|
||||
alert(e.message || e.toString());
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user