diff --git a/Program.cs b/Program.cs index 7cf3ccb..655500f 100644 --- a/Program.cs +++ b/Program.cs @@ -16,6 +16,12 @@ if (config?.GlobalToken == "CHANGE-ME") ); } +// Sentry +if (config?.UseSentry == true) +{ + builder.WebHost.UseSentry(); +} + // Add services to the container. builder.Services.AddRazorComponents().AddInteractiveServerComponents(); builder.Services.AddHttpLogging(o => { }); diff --git a/ZenithInfo.csproj b/ZenithInfo.csproj index f9b56fa..d486ac3 100644 --- a/ZenithInfo.csproj +++ b/ZenithInfo.csproj @@ -10,6 +10,7 @@ +