diff --git a/PluralKit.API/Startup.cs b/PluralKit.API/Startup.cs index e12c79fc..918f723e 100644 --- a/PluralKit.API/Startup.cs +++ b/PluralKit.API/Startup.cs @@ -103,7 +103,7 @@ public class Startup .As(); builder.RegisterModule(new ConfigModule("API")); builder.RegisterModule(new LoggingModule("api", - cfg: new LoggerConfiguration().Filter.ByExcluding(exc => exc.Exception.IsUserError()))); + cfg: new LoggerConfiguration().Filter.ByExcluding(exc => exc.Exception is PKError || exc.Exception.IsUserError()))); builder.RegisterModule(new MetricsModule("API")); builder.RegisterModule(); builder.RegisterModule();