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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user