diff --git a/Extensions/ExceptionExtensions.cs b/Extensions/ExceptionExtensions.cs index 934823d..d6cec28 100644 --- a/Extensions/ExceptionExtensions.cs +++ b/Extensions/ExceptionExtensions.cs @@ -134,7 +134,7 @@ public static string CreateDescription( sbMsg.AppendFormat( "({0} - {1})", entry.Key, - entry.Value != null ? entry.Value : ""); + entry.Value ?? ""); sbMsg.Append(Environment.NewLine); } sbMsg.Append(Environment.NewLine);