[backend] Fix typo

This commit is contained in:
Laura Hausmann 2024-06-20 18:29:34 +02:00
parent 978a19d6b1
commit 5857e9ec7d
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -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)