Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…lendarSync into release

Fixes #886
  • Loading branch information
phw198 committed Dec 28, 2020
2 parents 1e3be12 + 9d8d089 commit f4ec842
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OutlookGoogleCalendarSync/GoogleOgcs/GoogleCalendar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ public void GetSettings() {
this.UTCoffset = TimezoneDB.GetUtcOffset(setting.Value);
} catch (System.Exception ex) {
OGCSexception.Analyse("Not able to retrieve Google calendar's global timezone", ex);
throw new System.ApplicationException("Unable to retrieve Google calendar's global timezone.", ex);
throw;
}
getCalendarSettings();
}
Expand All @@ -1377,8 +1377,8 @@ private void getCalendarSettings() {
else
this.MinDefaultReminder = cal.DefaultReminders.Where(x => x.Method.Equals("popup")).OrderBy(x => x.Minutes.Value).First().Minutes.Value;
} catch (System.Exception ex) {
OGCSexception.Analyse("Failed to get calendar settings.", ex);
throw new System.ApplicationException("Unable to retrieve Google calendar's reminder settings.", ex);
OGCSexception.Analyse("Failed to get calendar's reminder settings.", ex);
throw;
}
}

Expand Down

0 comments on commit f4ec842

Please sign in to comment.