diff --git a/src/ServiceDefaults/Extensions.cs b/src/ServiceDefaults/Extensions.cs index 6a62d10..66472b9 100644 --- a/src/ServiceDefaults/Extensions.cs +++ b/src/ServiceDefaults/Extensions.cs @@ -46,8 +46,6 @@ public static IHostApplicationBuilder AddServiceDefaults(this IHostApplicationBu public static IHostApplicationBuilder AddSentry(this WebApplicationBuilder builder, string? dsn) { - if (string.IsNullOrWhiteSpace(dsn)) return builder; - builder.WebHost.UseSentry(o => { o.Dsn = dsn;