diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj
index a179aef21d..ae301ff207 100644
--- a/src/Core/Core.csproj
+++ b/src/Core/Core.csproj
@@ -45,7 +45,7 @@
-
+
diff --git a/src/Core/Utilities/LoggerFactoryExtensions.cs b/src/Core/Utilities/LoggerFactoryExtensions.cs
index 4992347876..61fa9583c6 100644
--- a/src/Core/Utilities/LoggerFactoryExtensions.cs
+++ b/src/Core/Utilities/LoggerFactoryExtensions.cs
@@ -22,10 +22,6 @@ namespace Bit.Core.Utilities
return;
}
- if(CoreHelpers.SettingHasValue(globalSettings?.Sentry.Dsn))
- {
- appBuilder.AddSentryContext();
- }
applicationLifetime.ApplicationStopped.Register(Log.CloseAndFlush);
}
@@ -72,9 +68,7 @@ namespace Bit.Core.Utilities
{
config.WriteTo.Sentry(globalSettings.Sentry.Dsn)
.Enrich.FromLogContext()
- .Enrich.WithProperty("Project", globalSettings.ProjectName)
- .Destructure.With()
- .Filter.ByExcluding(e => e.Exception?.CheckIfCaptured() == true);
+ .Enrich.WithProperty("Project", globalSettings.ProjectName);
}
else if(CoreHelpers.SettingHasValue(globalSettings.LogDirectory))
{