Improve error message to user when creating calendar for a site.
|Participant||Role||Time Spent||Comments||Latest Comment|
|Author||13m||3||Discussed with Zhen and decided we can leave as it is wit...|
|Reviewer - 100% reviewed||12m||2||Do we want to attach some human readable message to this ...|
|Reviewer - Complete||0m||1||Looks ok provided IOException is the appropriate one.|
|Reviewer - Complete||4m||1||Looks good!|
Changes to provide more specific messages to users when: there is no Google calendar created for a site or there is a problem creating the Google calendar (user id not valid or communication problem with Google). This is part of JIRA GOOGLE-173.
The approach was to throw an exception when there is a problem creating the GoogleCredential (invalid user) or when actually creating the calendar. If an exception was not thrown during the calendar creation, we have a case where the Google calendar simply has not yet been created and we display the appropriate message.
Branches in review
Issues Raised From Comments