projects
/
platform
/
core
/
dotnet
/
diagnostics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b94de4
)
Do not display exception on graceful exit case (#300)
author
Sung Yoon Whang
<suwhang@microsoft.com>
Sun, 2 Jun 2019 23:49:07 +0000
(16:49 -0700)
committer
GitHub
<noreply@github.com>
Sun, 2 Jun 2019 23:49:07 +0000
(16:49 -0700)
* Do not display exception on graceful exit case
* Use Debug.WriteLine instead of removing
src/Tools/dotnet-counters/CounterMonitor.cs
patch
|
blob
|
history
diff --git
a/src/Tools/dotnet-counters/CounterMonitor.cs
b/src/Tools/dotnet-counters/CounterMonitor.cs
index ed129d1d12f50eed420f8c853f4d35c2bc11ee44..bace03216fc2cac05a88555121978b7f9fb49245 100644
(file)
--- a/
src/Tools/dotnet-counters/CounterMonitor.cs
+++ b/
src/Tools/dotnet-counters/CounterMonitor.cs
@@
-174,7
+174,7
@@
namespace Microsoft.Diagnostics.Tools.Counters
}
catch (Exception ex)
{
-
Console.Error
.WriteLine($"[ERROR] {ex.ToString()}");
+
Debug
.WriteLine($"[ERROR] {ex.ToString()}");
}
finally
{