diff --git a/email_app/app/components/home.js b/email_app/app/components/home.js index 9e10f1f..d73c43b 100755 --- a/email_app/app/components/home.js +++ b/email_app/app/components/home.js @@ -30,7 +30,8 @@ export default class Home extends Component { reconnect() { this.setState({reconnecting: true}); return this.props.reconnectApplication() - .then(() => this.setState({reconnecting: false})); + .catch((err) => 'not reconnected') + .then(() => this.setState({reconnecting: false})) } render() {