about summary refs log tree commit diff
path: root/MatrixUtils.Desktop/SentryService.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-24 02:31:56 +0100
committerRory& <root@rory.gay>2024-01-24 17:05:25 +0100
commit03313562d21d5db9bf6a14ebbeab80e06c883d3a (patch)
treee000546a2ee8e6a886a7ed9fd01ad674178fb7cb /MatrixUtils.Desktop/SentryService.cs
parentMake RMU installable (diff)
downloadMatrixUtils-03313562d21d5db9bf6a14ebbeab80e06c883d3a.tar.xz
MRU->RMU, fixes, cleanup
Diffstat (limited to '')
-rw-r--r--MatrixUtils.Desktop/SentryService.cs (renamed from MatrixRoomUtils.Desktop/SentryService.cs)4
1 files changed, 2 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Desktop/SentryService.cs b/MatrixUtils.Desktop/SentryService.cs

index 26212fa..c965632 100644 --- a/MatrixRoomUtils.Desktop/SentryService.cs +++ b/MatrixUtils.Desktop/SentryService.cs
@@ -2,12 +2,12 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Sentry; -namespace MatrixRoomUtils.Desktop; +namespace MatrixUtils.Desktop; public class SentryService : IDisposable { private IDisposable? _sentrySdkDisposable; public SentryService(IServiceScopeFactory scopeFactory, ILogger<SentryService> logger) { - var config = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<MRUDesktopConfiguration>(); + var config = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<RMUDesktopConfiguration>(); if (config.SentryDsn is null) { logger.LogWarning("Sentry DSN is not set, skipping Sentry initialisation"); return;