mirror of
https://github.com/bitwarden/server
synced 2026-01-02 00:23:40 +00:00
fixes to exception logging
This commit is contained in:
@@ -22,6 +22,13 @@ namespace Bit.Billing
|
||||
return true;
|
||||
}
|
||||
|
||||
if(e.Properties.ContainsKey("RequestPath") &&
|
||||
!string.IsNullOrWhiteSpace(e.Properties["RequestPath"]?.ToString()) &&
|
||||
(context.Contains(".Server.Kestrel") || context.Contains(".Core.IISHttpServer")))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return e.Level >= LogEventLevel.Warning;
|
||||
}))
|
||||
.Build()
|
||||
|
||||
Reference in New Issue
Block a user