AppCenter to AppInsights migration. (#562)
* Remove AppCenter usage and libraries. * Remove redundant pacakges and add the app insights sink. * Diagnostic id support and manipulating telemetries. * Handling of appdomain unhandled exceptions. * Remove unused package identity package from mail project. * Fixing printing.
This commit is contained in:
@@ -10,11 +10,9 @@ using System.Threading.Tasks;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using CommunityToolkit.Mvvm.Messaging;
|
||||
using Microsoft.AppCenter.Crashes;
|
||||
using MoreLinq;
|
||||
using Nito.AsyncEx;
|
||||
using Serilog;
|
||||
using Wino.Core;
|
||||
using Wino.Core.Domain;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
@@ -844,11 +842,9 @@ namespace Wino.Mail.ViewModels
|
||||
Debugger.Break();
|
||||
|
||||
if (IsInSearchMode)
|
||||
Log.Error(ex, WinoErrors.SearchFailed);
|
||||
Log.Error(ex, "Failed to perform search.");
|
||||
else
|
||||
Log.Error(ex, WinoErrors.MailListRefreshFolder);
|
||||
|
||||
Crashes.TrackError(ex);
|
||||
Log.Error(ex, "Failed to refresh listed mails.");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user