Try - catch for outlook profile sync.
This commit is contained in:
@@ -512,6 +512,8 @@ namespace Wino.Core.Synchronizers
|
||||
}
|
||||
|
||||
protected override async Task SynchronizeProfileInformationAsync()
|
||||
{
|
||||
try
|
||||
{
|
||||
// Outlook profile info synchronizes Sender Name and Profile Picture.
|
||||
string senderName = Account.SenderName, base64ProfilePicture = Account.ProfilePictureBase64;
|
||||
@@ -537,6 +539,11 @@ namespace Wino.Core.Synchronizers
|
||||
await _outlookChangeProcessor.UpdateAccountAsync(Account).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "Failed to synchronize profile information for {Name}", Account.Name);
|
||||
}
|
||||
}
|
||||
|
||||
#region Mail Integration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user