Skip to content

Commit

Permalink
added better description in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang9211 committed Mar 5, 2017
1 parent 2ef2f03 commit 1c0cd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class App extends Component {
} else if (error.code === 2 && error.message.match(/^Network location provider at 'https:\/\/www.googleapis.com\/' : Returned error code 403.$/)) {
this.setState({ error: 'Seems like the internal service for geolocation is down. Please try in a few minutes!' });
} else {
this.setState({ error: 'Looks like something went wrong! Hang tight while we fetch your location again...' });
this.setState({ error: 'Looks like something went wrong! Please refresh your browser...' });
this.getLocation();
}
}
Expand Down

0 comments on commit 1c0cd00

Please sign in to comment.