Deprecation of Application Insights for Sentry.IO (#723)

* Remove Application Insights implementation and implement new Sentry.IO SDK

* Remove test exception.
This commit is contained in:
Burak Kaan Köse
2025-07-30 23:36:10 +02:00
committed by GitHub
parent 43283b7218
commit 21f9c7cf6d
13 changed files with 55 additions and 64 deletions

View File

@@ -49,14 +49,11 @@ public class ServerContext :
{
private const double MinimumSynchronizationIntervalMinutes = 1;
private readonly System.Timers.Timer _timer;
private readonly System.Timers.Timer _timer = new System.Timers.Timer();
private static object connectionLock = new object();
private AppServiceConnection connection = null;
private readonly IDatabaseService _databaseService;
private readonly IApplicationConfiguration _applicationFolderConfiguration;
private readonly ISynchronizerFactory _synchronizerFactory;
private readonly IServerMessageHandlerFactory _serverMessageHandlerFactory;
private readonly IAccountService _accountService;
private readonly IPreferencesService _preferencesService;
@@ -77,9 +74,6 @@ public class ServerContext :
_timer.Elapsed += SynchronizationTimerTriggered;
_preferencesService.PropertyChanged += PreferencesUpdated;
_databaseService = databaseService;
_applicationFolderConfiguration = applicationFolderConfiguration;
_synchronizerFactory = synchronizerFactory;
_serverMessageHandlerFactory = serverMessageHandlerFactory;
_accountService = accountService;

View File

@@ -39,6 +39,7 @@
<PackageReference Include="H.NotifyIcon.Wpf" />
<PackageReference Include="CommunityToolkit.WinUI.Notifications" />
<PackageReference Include="Microsoft.Identity.Client" />
<PackageReference Include="Sentry.Serilog" />
<PackageReference Include="System.Text.Encoding.CodePages" />
</ItemGroup>
<ItemGroup>