Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extra logging when picking profile.
Browse files Browse the repository at this point in the history
phw198 committed Nov 6, 2021
1 parent ec16901 commit b3ff284
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/OutlookGoogleCalendarSync/OutlookOgcs/OutlookNew.cs
Original file line number Diff line number Diff line change
@@ -285,6 +285,7 @@ public NameSpace GetCurrentUser(NameSpace oNS) {
private MAPIFolder getCalendarStore(NameSpace oNS) {
MAPIFolder defaultCalendar = null;
SettingsStore.Calendar profile = Settings.Profile.InPlay();
Program.StackTraceToString();
if (profile.OutlookService == OutlookOgcs.Calendar.Service.AlternativeMailbox && profile.MailboxName != "") {
log.Debug("Finding Alternative Mailbox calendar folders");
Folders binFolders = null;
2 changes: 1 addition & 1 deletion src/OutlookGoogleCalendarSync/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -28,6 +28,6 @@
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.9.*")]
[assembly: AssemblyFileVersion("2.9.1.11")]
[assembly: AssemblyFileVersion("2.9.1.12")]

[assembly: AssemblyMetadata("SquirrelAwareVersion", "1")]
4 changes: 2 additions & 2 deletions src/OutlookGoogleCalendarSync/SettingsStore/Settings.cs
Original file line number Diff line number Diff line change
@@ -451,11 +451,11 @@ public static SettingsStore.Calendar InPlay() {
if (Program.CalledByProcess("manualSynchronize,Sync_Click,updateGUIsettings,UpdateGUIsettings_Profile,miCatRefresh_Click," +
"GetMyGoogleCalendars_Click,btColourMap_Click,ColourPicker_Enter,OnSelectedIndexChanged,OnCheckedChanged")) {
aProfile = Forms.Main.Instance.ActiveCalendarProfile;
log.Fine("Using profile Forms.Main.Instance.ActiveCalendarProfile");
log.Debug("Using profile Forms.Main.Instance.ActiveCalendarProfile");

} else if (Program.CalledByProcess("synchronize,OnTick")) {
aProfile = Sync.Engine.Calendar.Instance.Profile;
log.Fine("Using profile Sync.Engine.Calendar.Instance.Profile");
log.Debug("Using profile Sync.Engine.Calendar.Instance.Profile");

} else {
Program.StackTraceToString();

0 comments on commit b3ff284

Please sign in to comment.