From 66d13ba07b63d52dffc72100f5ff9741ce949129 Mon Sep 17 00:00:00 2001 From: Artem Kliatchkine Date: Tue, 4 Sep 2018 16:23:15 +0200 Subject: [PATCH] Minor code cleanup --- Extensions/ExceptionExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);