Browse Source

fix warning in PerformanceCounterDescriptor

pull/787/head
Siegfried Pammer 14 years ago
parent
commit
2064ac350c
  1. 4
      src/AddIns/Analysis/Profiler/Controller/Data/PerformanceCounterDescriptor.cs

4
src/AddIns/Analysis/Profiler/Controller/Data/PerformanceCounterDescriptor.cs

@ -130,9 +130,11 @@ namespace ICSharpCode.Profiler.Controller.Data @@ -130,9 +130,11 @@ namespace ICSharpCode.Profiler.Controller.Data
try {
this.Values.Add(counter.NextValue());
} catch (Exception e) {
#if DEBUG
} catch (Exception e) {
Console.WriteLine(e.ToString());
#else
} catch (Exception) {
#endif
this.Values.Add(defaultValue);
}

Loading…
Cancel
Save