Don't crash on Outlook profile picture fetch.

This commit is contained in:
Burak Kaan Köse
2024-09-12 00:50:49 +02:00
parent c1dcd52a28
commit 310943590b

View File

@@ -494,7 +494,12 @@ namespace Wino.Core.Synchronizers
}
catch (Exception)
{
throw;
// Don't throw for profile picture.
// Office 365 apps require different permissions for profile picture.
// This permission requires admin consent.
// We avoid those permissions for now.
return string.Empty;
}
}