Skip to content

Commit

Permalink
fix(smell): possible null reference return CS8603
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Aug 30, 2023
1 parent 6e86c68 commit e1f8bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Correlate.Core/Extensions/LoggerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Correlate.Extensions;

internal static class LoggerExtensions
{
public static IDisposable BeginCorrelatedScope(this ILogger logger, string correlationId)
public static IDisposable? BeginCorrelatedScope(this ILogger logger, string correlationId)
{
return logger.BeginScope(new CorrelatedLogScope(correlationId));
}
Expand Down

0 comments on commit e1f8bd7

Please sign in to comment.