Skip to content

Naked 'catch' should be removed #47

@vermorel

Description

@vermorel

The codebase has many naked catch aka

try
{
    // snipped
}
catch 
{
}

This pattern is wrong because the catch might intercept anything, and possibly unrelated problems like OutOfMemoryException which should not be caught.

All those naked catches should be removed; replaced by exception-specific catches.

Metadata

Metadata

Assignees

Labels

modernizationBetter C# practices for the codebase

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions