diff --git a/Mindbox.ExceptionsHandling.Template/Mindbox.ExceptionsHandling.Template.csproj b/Mindbox.ExceptionsHandling.Template/Mindbox.ExceptionsHandling.Template.csproj
index 2be9349..b36a1c1 100644
--- a/Mindbox.ExceptionsHandling.Template/Mindbox.ExceptionsHandling.Template.csproj
+++ b/Mindbox.ExceptionsHandling.Template/Mindbox.ExceptionsHandling.Template.csproj
@@ -9,8 +9,8 @@
-
-
-
+
+
+
diff --git a/Mindbox.ExceptionsHandling.Template/SentryOptionsConfiguration.cs b/Mindbox.ExceptionsHandling.Template/SentryOptionsConfiguration.cs
index db32028..3706f32 100644
--- a/Mindbox.ExceptionsHandling.Template/SentryOptionsConfiguration.cs
+++ b/Mindbox.ExceptionsHandling.Template/SentryOptionsConfiguration.cs
@@ -1,5 +1,4 @@
using Microsoft.Extensions.Options;
-using Sentry;
using Sentry.AspNetCore;
using Sentry.Extensions.Logging;
using Sentry.NLog;
@@ -17,22 +16,22 @@ public SentryOptionsConfiguration(
_categoryProcessor = categoryProcessor;
}
- public void Configure(SentryAspNetCoreOptions options)
+ public void Configure(SentryNLogOptions options)
{
- options.AddEventProcessor(_categoryProcessor);
+ Configure("autobugsSentry_wrapped", options);
}
- public void Configure(SentryLoggingOptions options)
+ public void Configure(string? name, SentryNLogOptions options)
{
options.AddEventProcessor(_categoryProcessor);
}
- public void Configure(SentryNLogOptions options)
+ public void Configure(SentryAspNetCoreOptions options)
{
- Configure("autobugsSentry_wrapped", options);
+ options.AddEventProcessor(_categoryProcessor);
}
- public void Configure(string? name, SentryNLogOptions options)
+ public void Configure(SentryLoggingOptions options)
{
options.AddEventProcessor(_categoryProcessor);
}