Skip to content

Commit b93e4ea

Browse files
authored
Update src/Middleware/Diagnostics/test/UnitTests/ExceptionHandlerMiddlewareTest.cs
1 parent 61c8a3d commit b93e4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/Diagnostics/test/UnitTests/ExceptionHandlerMiddlewareTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public async Task IExceptionHandlers_SuppressDiagnostics_TestLogs(bool? suppress
215215
var metricsTagsFeature = new TestHttpMetricsTagsFeature();
216216
httpContext.Features.Set<IHttpMetricsTagsFeature>(metricsTagsFeature);
217217

218-
Func<ExceptionHandlerSuppressDiagnosticsContext, bool>? suppressDiagnosticsCallback = null;
218+
Func<ExceptionHandlerSuppressDiagnosticsContext, bool> suppressDiagnosticsCallback = null;
219219
if (suppressDiagnostics != null)
220220
{
221221
suppressDiagnosticsCallback = c => suppressDiagnostics.Value;

0 commit comments

Comments
 (0)