diff --git a/Wino.Mail.ViewModels/AppShellViewModel.cs b/Wino.Mail.ViewModels/AppShellViewModel.cs index a84a1956..8eacac5c 100644 --- a/Wino.Mail.ViewModels/AppShellViewModel.cs +++ b/Wino.Mail.ViewModels/AppShellViewModel.cs @@ -889,7 +889,14 @@ namespace Wino.Mail.ViewModels Messenger.Send(new NewSynchronizationRequested(options, SynchronizationSource.Client)); - await _nativeAppService.PinAppToTaskbarAsync(); + try + { + await _nativeAppService.PinAppToTaskbarAsync(); + } + catch (Exception ex) + { + Log.Error(ex, "Failed to pin Wino to taskbar."); + } } // TODO: Handle by messaging.