-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description
File: TUnit.Engine/Services/VerbosityService.cs (Lines 90-101)
catch // Catches all exceptions, hides real issues
{
return true; // Silent default
}IsConsoleEnvironment catches all exceptions silently, including NullReferenceException and other serious errors.
Suggested Fix
Catch specific exceptions and log:
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"Failed to determine console environment: {ex}");
return true;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers