[backend] Fix typo
This commit is contained in:
parent
978a19d6b1
commit
5857e9ec7d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class ErrorHandlerMiddleware(
|
||||||
|
|
||||||
if (ctx.Response.HasStarted)
|
if (ctx.Response.HasStarted)
|
||||||
{
|
{
|
||||||
if (e is GracefulException { SuppressLog: false } earlyCe)
|
if (e is GracefulException earlyCe)
|
||||||
{
|
{
|
||||||
var level = earlyCe.SuppressLog ? LogLevel.Trace : LogLevel.Debug;
|
var level = earlyCe.SuppressLog ? LogLevel.Trace : LogLevel.Debug;
|
||||||
if (earlyCe.Details != null)
|
if (earlyCe.Details != null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue