changeset 42:3ba6778ed336

fixed ArgumentNullException in StartLogicalOperation
author cin
date Wed, 16 Apr 2014 00:33:09 +0400
parents 2fc0fbe7d58b
children 7c2369f580b8 d10034588e38
files Implab/Diagnostics/TraceEvent.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceEvent.cs	Tue Apr 15 18:06:34 2014 +0400
+++ b/Implab/Diagnostics/TraceEvent.cs	Wed Apr 16 00:33:09 2014 +0400
@@ -25,7 +25,7 @@
         }
 
         public static TraceEvent Create(TraceEventType type, string format, params object[] args) {
-            return new TraceEvent(type, String.Format(format, args));
+            return new TraceEvent(type, String.Format(format ?? String.Empty, args));
         }
     }
 }