Skip to content

Commit

Permalink
Merge pull request #94 from argon-chat/fix/sentry-dsn
Browse files Browse the repository at this point in the history
Sentry Allow Use Empty DSN
  • Loading branch information
urumo authored Dec 3, 2024
2 parents fbb8ee2 + 6be8ae4 commit 8dc2404
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ServiceDefaults/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8dc2404

Please sign in to comment.