diff --git a/Reqnroll.VisualStudio/Diagnostics/LogMessage.cs b/Reqnroll.VisualStudio/Diagnostics/LogMessage.cs index a1edb97..21c81fb 100644 --- a/Reqnroll.VisualStudio/Diagnostics/LogMessage.cs +++ b/Reqnroll.VisualStudio/Diagnostics/LogMessage.cs @@ -5,7 +5,7 @@ public record LogMessage( TraceLevel Level, string Message, string CallerMethod, - [CanBeNull] Exception Exception = default!) + Exception? Exception = default!) { public DateTimeOffset TimeStamp { get; } = DateTimeOffset.Now; public int ManagedThreadId { get; } = Thread.CurrentThread.ManagedThreadId;