Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Tools/dotnet-counters/CounterMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ private async Task<int> StartMonitor()
source.Dynamic.All += Dynamic_All;
source.Process();
}
catch (Exception ex)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can keep the exception information, but using Debug.WriteLine instead? What do you think?

catch
{
Console.Error.WriteLine($"[ERROR] {ex.ToString()}");
}
finally
{
Expand Down